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.HorizontalIndent Property

Gets or sets the horizontal distance between the WinExplorerView items within the current View Style.

Namespace: DevExpress.XtraGrid.Views.WinExplorer

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[DefaultValue(-1)]
[XtraSerializableProperty]
public int HorizontalIndent { get; set; }

#Property Value

Type Default Description
Int32 -1

An Int32 value that is the horizontal distance between the WinExplorerView items within the current View Style.

#Property Paths

You can access this nested property as listed below:

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

#Remarks

The HorizontalIndent property specifies the horizontal distance between items within the current View Style. Since in the WinExplorerViewStyle.Content Style, items are arranged one below the other and occupy the entire View’s width, the HorizontalIndent property has no effect for this Style.

You can also specify item vertical distance or surrounding margins via the WinExplorerViewStyleOptions.VerticalIndent or WinExplorerViewStyleOptions.ContentMargins properties respectively.

See Also