GridViewItemPresenter.GridViewItemPresenterPadding 屬性

定義

注意

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

取得或設定簡報者和 GridView之間的邊框間距。

public:
 property Thickness GridViewItemPresenterPadding { Thickness get(); void set(Thickness value); };
/// [get: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
Thickness GridViewItemPresenterPadding();

void GridViewItemPresenterPadding(Thickness value);
/// [get: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
Thickness GridViewItemPresenterPadding();

void GridViewItemPresenterPadding(Thickness value);
public Thickness GridViewItemPresenterPadding { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public Thickness GridViewItemPresenterPadding { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var thickness = gridViewItemPresenter.gridViewItemPresenterPadding;
gridViewItemPresenter.gridViewItemPresenterPadding = thickness;
Public Property GridViewItemPresenterPadding As Thickness

屬性值

粗細值。

屬性

備註

重要

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

適用於