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