ListViewItemPresenter.ListViewItemPresenterVerticalContentAlignment 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
注意
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。