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 依赖属性的标识符。

属性

适用于

另请参阅