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
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for