Freigeben über


GridViewItemPresenter.GridViewItemPresenterVerticalContentAlignment Eigenschaft

Definition

Hinweis

GridViewItemPresenterVerticalContentAlignment kann für Releases nach Windows 10 geändert oder nicht mehr verfügbar sein. Verwenden Sie stattdessen ContentPresenter.VerticalContentAlignment.

Ruft die vertikale Ausrichtung des dargestellten Inhalts ab oder legt diese fest.

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

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

void GridViewItemPresenterVerticalContentAlignment(VerticalAlignment value);
public VerticalAlignment GridViewItemPresenterVerticalContentAlignment { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.VerticalContentAlignment instead of GridViewItemPresenterVerticalContentAlignment. 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 GridViewItemPresenterVerticalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public VerticalAlignment GridViewItemPresenterVerticalContentAlignment { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.VerticalContentAlignment instead of GridViewItemPresenterVerticalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.VerticalContentAlignment instead of GridViewItemPresenterVerticalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var verticalAlignment = gridViewItemPresenter.gridViewItemPresenterVerticalContentAlignment;
gridViewItemPresenter.gridViewItemPresenterVerticalContentAlignment = verticalAlignment;
Public Property GridViewItemPresenterVerticalContentAlignment As VerticalAlignment

Eigenschaftswert

Ein Wert aus der Enumeration.

Attribute

Hinweise

Wichtig

GridViewItemPresenterVerticalContentAlignment kann für Releases nach Windows 10 geändert oder nicht mehr verfügbar sein. Verwenden Sie stattdessen ContentPresenter.VerticalContentAlignment.

Gilt für: