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, "Microsoft.UI.Xaml.WinUIContract")]
/// [set: 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")]
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, "Microsoft.UI.Xaml.WinUIContract")] 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")] set; }
var thickness = listViewItemPresenter.listViewItemPresenterPadding;
listViewItemPresenter.listViewItemPresenterPadding = thickness;
Public Property ListViewItemPresenterPadding As Thickness

属性值

一个“厚度”值。

属性

注解

重要

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

适用于