Back to Devexpress

WinExplorerViewStyleOptions.ImageMargins Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerviewstyleoptions-9e42bac0.md

latest3.7 KB
Original Source

WinExplorerViewStyleOptions.ImageMargins Property

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

Declaration

csharp
[XtraSerializableProperty]
public Padding ImageMargins { get; set; }
vb
<XtraSerializableProperty>
Public Property ImageMargins As Padding

Property Value

TypeDescription
Padding

A Padding structure that is margins for item images within this WinExplorerView style.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ImageMargins
WinExplorerViewStyleOptionsCollection

.ExtraLarge .ImageMargins

| | WinExplorerViewStyleOptionsCollection |

.Large .ImageMargins

| | WinExplorerViewStyleOptionsCollection |

.Medium .ImageMargins

| | WinExplorerViewStyleOptionsCollection |

.Small .ImageMargins

| | WinExplorerViewStyleOptionsCollection |

.Tiles .ImageMargins

|

Remarks

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

CheckBoxMargins

ContentMargins

WinExplorerViewStyleOptions Class

WinExplorerViewStyleOptions Members

DevExpress.XtraGrid.Views.WinExplorer Namespace