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, "Microsoft.UI.Xaml.WinUIContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.VerticalContentAlignment instead of ListViewItemPresenterVerticalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
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, "Microsoft.UI.Xaml.WinUIContract")] get; [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.VerticalContentAlignment instead of ListViewItemPresenterVerticalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")] set; }
var verticalAlignment = listViewItemPresenter.listViewItemPresenterVerticalContentAlignment;
listViewItemPresenter.listViewItemPresenterVerticalContentAlignment = verticalAlignment;
Public Property ListViewItemPresenterVerticalContentAlignment As VerticalAlignment

属性值

枚举的一个值。

属性

注解

重要

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

适用于