Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ListViewItemPresenter.ContentMargin Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?