Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.32 KB

gridviewitempresenter_contentmargin.md

File metadata and controls

38 lines (29 loc) · 1.32 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.Primitives.GridViewItemPresenter.ContentMargin
winrt property

Microsoft.UI.Xaml.Controls.Primitives.GridViewItemPresenter.ContentMargin

-description

Gets or sets an internal margin between presented content and its presenter.

-xaml-syntax

<gridViewItemPresenter ContentMargin="uniform"/>
- or -
<gridViewItemPresenter ContentMargin="left&right,top&bottom"/>
- or -
<gridViewItemPresenter ContentMargin="left,top,right,bottom"/>

-xaml-values

uniform
uniformA numeric value that specifies a uniform Thickness. The uniform value is applied to all four Thickness values (Left, Top, Right, Bottom).
left&right
left&rightA numeric value that specifies the Left and Right values of a symmetrical Thickness.
top&bottom
top&bottomA numeric value that specifies the Top and Bottom values of a symmetrical Thickness.
left,top,right,bottom
left,top,right,bottomFloating-point values that specify the four possible dimension values of a Thickness structure (Left, Top, Right, Bottom).
## -property-value A [Thickness](../microsoft.ui.xaml/thickness.md) value.

-remarks

-examples

-see-also