ListViewItemPresenter.ContentMargin 属性

定义

获取或设置呈现的内容与其演示者之间的内部边距。

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"/>

属性值

一个“厚度”值。

适用于