Compartilhar via


ListViewItemPresenter.ListViewItemPresenterHorizontalContentAlignment Propriedade

Definição

Observação

ListViewItemPresenterHorizontalContentAlignment pode ser alterado ou indisponível para versões após o 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 ListViewItemPresenterHorizontalContentAlignment { HorizontalAlignment get(); void set(HorizontalAlignment value); };
/// [get: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of ListViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of ListViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
HorizontalAlignment ListViewItemPresenterHorizontalContentAlignment();

void ListViewItemPresenterHorizontalContentAlignment(HorizontalAlignment value);
/// [get: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of ListViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of ListViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
HorizontalAlignment ListViewItemPresenterHorizontalContentAlignment();

void ListViewItemPresenterHorizontalContentAlignment(HorizontalAlignment value);
public HorizontalAlignment ListViewItemPresenterHorizontalContentAlignment { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of ListViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of ListViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public HorizontalAlignment ListViewItemPresenterHorizontalContentAlignment { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of ListViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of ListViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var horizontalAlignment = listViewItemPresenter.listViewItemPresenterHorizontalContentAlignment;
listViewItemPresenter.listViewItemPresenterHorizontalContentAlignment = horizontalAlignment;
Public Property ListViewItemPresenterHorizontalContentAlignment As HorizontalAlignment

Valor da propriedade

Um valor da enumeração.

Atributos

Comentários

Importante

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

Aplica-se a