windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerviewstyleoptions-9e42bac0.md
Gets or sets margins for item images within this WinExplorerView style.
Namespace : DevExpress.XtraGrid.Views.WinExplorer
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[XtraSerializableProperty]
public Padding ImageMargins { get; set; }
<XtraSerializableProperty>
Public Property ImageMargins As Padding
| Type | Description |
|---|---|
| Padding |
A Padding structure that is margins for item images within this WinExplorerView style.
|
You can access this nested property as listed below:
| Object Type | Path to ImageMargins |
|---|---|
| WinExplorerViewStyleOptionsCollection |
.ExtraLarge .ImageMargins
| | WinExplorerViewStyleOptionsCollection |
.Large .ImageMargins
| | WinExplorerViewStyleOptionsCollection |
.Medium .ImageMargins
| | WinExplorerViewStyleOptionsCollection |
.Small .ImageMargins
| | WinExplorerViewStyleOptionsCollection |
.Tiles .ImageMargins
|
The ImageMargins property allows you to set margins for the Image field within the current style. You can also set margins for the Check Box field or the entire item via the WinExplorerViewStyleOptions.CheckBoxMargins and WinExplorerViewStyleOptions.ContentMargins properties respectively.
See Also
WinExplorerViewStyleOptions Class