Back to Devexpress

WinExplorerViewStyleOptions.HorizontalIndent Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-winexplorer-dot-winexplorerviewstyleoptions-07950201.md

latest4.1 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
[DefaultValue(-1)]
[XtraSerializableProperty]
public int HorizontalIndent { get; set; }
vb
<DefaultValue(-1)>
<XtraSerializableProperty>
Public Property HorizontalIndent As Integer

Property Value

TypeDefaultDescription
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 TypePath 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

VerticalIndent

ContentMargins

WinExplorerViewStyleOptions Class

WinExplorerViewStyleOptions Members

DevExpress.XtraGrid.Views.WinExplorer Namespace