ListViewItemPresenter.ListViewItemPresenterPadding 属性

定义

注意

ListViewItemPresenterPadding 可能会在Windows 10后更改或不可用。 请改用 ContentPresenter.Padding

获取或设置演示者周围的填充。

public:
 property Thickness ListViewItemPresenterPadding { 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 ListViewItemPresenterPadding();

void ListViewItemPresenterPadding(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 ListViewItemPresenterPadding();

void ListViewItemPresenterPadding(Thickness value);
public Thickness ListViewItemPresenterPadding { [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 ListViewItemPresenterPadding { [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 = listViewItemPresenter.listViewItemPresenterPadding;
listViewItemPresenter.listViewItemPresenterPadding = thickness;
Public Property ListViewItemPresenterPadding As Thickness

属性值

一个“粗细”值。

属性

注解

重要

ListViewItemPresenterPadding 可能会在Windows 10后更改或不可用。 请改用 ContentPresenter.Padding

适用于