次の方法で共有


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

プロパティ値

Thickness 値。

属性

注釈

重要

gridViewItemPresenterPadding は、Windows 10後のリリースで変更または使用できない場合があります。 代わりに、 ContentPresenter.Padding を使用します。

適用対象