共用方式為


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, Windows.Foundation.UniversalApiContract)]
static DependencyProperty GridViewItemPresenterHorizontalContentAlignmentProperty();
/// [get: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.HorizontalContentAlignment instead of GridViewItemPresenterHorizontalContentAlignment. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
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, typeof(Windows.Foundation.UniversalApiContract))] get; }
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, "Windows.Foundation.UniversalApiContract")] get; }
var dependencyProperty = GridViewItemPresenter.gridViewItemPresenterHorizontalContentAlignmentProperty;
Public Shared ReadOnly Property GridViewItemPresenterHorizontalContentAlignmentProperty As DependencyProperty

屬性值

GridViewItemPresenterHorizontalContentAlignment相依性屬性的識別碼。

屬性

適用於

另請參閱