Compartilhar via


GridViewItemPresenter.GridViewItemPresenterHorizontalContentAlignment Propriedade

Definição

Observação

GridViewItemPresenterHorizontalContentAlignment pode ser alterado ou indisponível para versões após Windows 10. Em vez disso, use ContentPresenter.HorizontalContentAlignment.

Obtém ou define o alinhamento horizontal do conteúdo que está sendo apresentado.

public:
 property HorizontalAlignment GridViewItemPresenterHorizontalContentAlignment { HorizontalAlignment get(); void set(HorizontalAlignment value); };
/// [get: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of GridViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of GridViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
HorizontalAlignment GridViewItemPresenterHorizontalContentAlignment();

void GridViewItemPresenterHorizontalContentAlignment(HorizontalAlignment value);
public HorizontalAlignment GridViewItemPresenterHorizontalContentAlignment { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of GridViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")] get; [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of GridViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")] set; }
var horizontalAlignment = gridViewItemPresenter.gridViewItemPresenterHorizontalContentAlignment;
gridViewItemPresenter.gridViewItemPresenterHorizontalContentAlignment = horizontalAlignment;
Public Property GridViewItemPresenterHorizontalContentAlignment As HorizontalAlignment

Valor da propriedade

Um valor da enumeração.

Atributos

Comentários

Importante

GridViewItemPresenterHorizontalContentAlignment pode ser alterado ou indisponível para versões após Windows 10. Em vez disso, use ContentPresenter.HorizontalContentAlignment.

Aplica-se a