共用方式為


GridViewItemPresenter.GridViewItemPresenterPaddingProperty 屬性

定義

注意

GridViewItemPresenterPaddingProperty 可能會在 Windows 10 之後變更或無法使用。 請改用 ContentPresenter.PaddingProperty

識別 GridViewItemPresenterPadding 相依性屬性。

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

屬性值

GridViewItemPresenterPadding 相依性屬性的標識符。

屬性

適用於

另請參閱