Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WinExplorerViewStyleOptions.ImageMargins Property

Gets or sets margins for item images within this WinExplorerView style.

Namespace: DevExpress.XtraGrid.Views.WinExplorer

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

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

#Property Value

Type Description
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 Type Path 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