GridViewItemPresenter.ContentMargin 属性

定义

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

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

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

属性值

一个“粗细”值。

适用于