ListViewItemPresenter.ContentMargin Property

Definition

Gets or sets an internal margin between presented content and its presenter.

public:
 property Thickness ContentMargin { Thickness get(); void set(Thickness value); };
Thickness ContentMargin();

void ContentMargin(Thickness value);
public Thickness ContentMargin { get; set; }
var thickness = listViewItemPresenter.contentMargin;
listViewItemPresenter.contentMargin = thickness;
Public Property ContentMargin As Thickness
<listViewItemPresenter ContentMargin="uniform"/>
- or -
<listViewItemPresenter ContentMargin="left&right,top&bottom"/>
- or -
<listViewItemPresenter ContentMargin="left,top,right,bottom"/>

Property Value

A Thickness value.

Applies to