Share via


ListViewItemPresenter.ListViewItemPresenterPadding Property

Definition

Note

ListViewItemPresenterPadding may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.Padding.

Gets or sets the padding around the presenter.

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

Property Value

A Thickness value.

Attributes

Remarks

Important

ListViewItemPresenterPadding may be altered or unavailable for releases after Windows 10. Instead, use ContentPresenter.Padding.

Applies to