ListViewItemPresenter.ListViewItemPresenterVerticalContentAlignment 属性

定义

注意

ListViewItemPresenterVerticalContentAlignment 可能会在Windows 10后更改或不可用于发布。 请改用 ContentPresenter.VerticalContentAlignment

获取或设置所呈现内容的垂直对齐方式。

public:
 property VerticalAlignment ListViewItemPresenterVerticalContentAlignment { VerticalAlignment get(); void set(VerticalAlignment value); };
/// [get: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.VerticalContentAlignment instead of ListViewItemPresenterVerticalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.VerticalContentAlignment instead of ListViewItemPresenterVerticalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
VerticalAlignment ListViewItemPresenterVerticalContentAlignment();

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

void ListViewItemPresenterVerticalContentAlignment(VerticalAlignment value);
public VerticalAlignment ListViewItemPresenterVerticalContentAlignment { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.VerticalContentAlignment instead of ListViewItemPresenterVerticalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.VerticalContentAlignment instead of ListViewItemPresenterVerticalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public VerticalAlignment ListViewItemPresenterVerticalContentAlignment { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.VerticalContentAlignment instead of ListViewItemPresenterVerticalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.VerticalContentAlignment instead of ListViewItemPresenterVerticalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var verticalAlignment = listViewItemPresenter.listViewItemPresenterVerticalContentAlignment;
listViewItemPresenter.listViewItemPresenterVerticalContentAlignment = verticalAlignment;
Public Property ListViewItemPresenterVerticalContentAlignment As VerticalAlignment

属性值

枚举的一个值。

属性

注解

重要

ListViewItemPresenterVerticalContentAlignment 可能会在Windows 10后更改或不可用于发布。 请改用 ContentPresenter.VerticalContentAlignment

适用于