windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerviewstyleoptions-07950201.md
Gets or sets the horizontal distance between the WinExplorerView items within the current View Style.
Namespace : DevExpress.XtraGrid.Views.WinExplorer
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(-1)]
[XtraSerializableProperty]
public int HorizontalIndent { get; set; }
<DefaultValue(-1)>
<XtraSerializableProperty>
Public Property HorizontalIndent As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | -1 |
An Int32 value that is the horizontal distance between the WinExplorerView items within the current View Style.
|
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
|
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
WinExplorerViewStyleOptions Class