Skip to main content

WinExplorerViewStyleOptions.ContentMargins Property

Gets or sets the content padding for the current WinExplorerView style.

Namespace: DevExpress.XtraGrid.Views.WinExplorer

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[XtraSerializableProperty]
public Padding ContentMargins { get; set; }

Property Value

Type Description
Padding

A Padding structure that is the content padding for the current WinExplorerView style.

Property Paths

You can access this nested property as listed below:

Object Type Path to ContentMargins
WinExplorerViewStyleOptionsCollection
.ExtraLarge .ContentMargins
WinExplorerViewStyleOptionsCollection
.Large .ContentMargins
WinExplorerViewStyleOptionsCollection
.Medium .ContentMargins
WinExplorerViewStyleOptionsCollection
.Small .ContentMargins
WinExplorerViewStyleOptionsCollection
.Tiles .ContentMargins

Remarks

The ContentMargins property specifies margins for the entire item within the View. You can also set specific margins for the image and check box via the WinExplorerViewStyleOptions.ImageMargins and WinExplorerViewStyleOptions.CheckBoxMargins properties respectively. The figure below illustrates content margins within the WinExplorerViewStyle.Tiles style.

WinExplorer View - ContentMargins

See Also