共用方式為


GridViewItemPresenter.GridViewItemPresenterHorizontalContentAlignmentProperty 屬性

定義

注意

GridViewItemPresenterHorizontalContentAlignmentProperty 可能會在 Windows 10 後變更或無法使用版本。 請改用 ContentPresenter.HorizontalContentAlignmentProperty

識別 GridViewItemPresenterHorizontalContentAlignment 相依性屬性。

public:
 static property DependencyProperty ^ GridViewItemPresenterHorizontalContentAlignmentProperty { DependencyProperty ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of GridViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
static DependencyProperty GridViewItemPresenterHorizontalContentAlignmentProperty();
public static DependencyProperty GridViewItemPresenterHorizontalContentAlignmentProperty { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of GridViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")] get; }
var dependencyProperty = GridViewItemPresenter.gridViewItemPresenterHorizontalContentAlignmentProperty;
Public Shared ReadOnly Property GridViewItemPresenterHorizontalContentAlignmentProperty As DependencyProperty

屬性值

GridViewItemPresenterHorizontalContentAlignment 相依性屬性的標識符。

屬性

適用於

另請參閱