GridViewItemPresenter.GridViewItemPresenterVerticalContentAlignment Property

Definition

Note

GridViewItemPresenterVerticalContentAlignment may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.VerticalContentAlignment.

Gets or sets the vertical alignment of the content being presented.

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

Property Value

A value of the enumeration.

Attributes

Remarks

Important

GridViewItemPresenterVerticalContentAlignment may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.VerticalContentAlignment.

Applies to