Partager via


GridViewItemPresenter.GridViewItemPresenterVerticalContentAlignment Propriété

Définition

Notes

GridViewItemPresenterVerticalContentAlignment peut être modifié ou indisponible pour les versions après Windows 10. Utilisez plutôt ContentPresenter.VerticalContentAlignment.

Obtient ou définit l’alignement vertical du contenu présenté.

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

Valeur de propriété

Valeur de l’énumération.

Attributs

Remarques

Important

GridViewItemPresenterVerticalContentAlignment peut être modifié ou indisponible pour les versions après Windows 10. Utilisez plutôt ContentPresenter.VerticalContentAlignment.

S’applique à