مشاركة عبر


GridViewItemPresenter.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 = 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"/>

Property Value

A Thickness value.

Applies to