Skip to main content

WinExplorerViewStyleOptions.IndentBetweenGroupAndItem Property

Gets or sets the distance between group captions and items within these groups.

Namespace: DevExpress.XtraGrid.Views.WinExplorer

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

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

Property Value

Type Default Description
Int32 -1

An Int32 value that is the distance between group captions and items within these groups.

Property Paths

You can access this nested property as listed below:

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

Remarks

The IndentBetweenGroupAndItem property specifies both top and bottom indents for the group content. The picture below illustrates the IndentBetweenGroupAndItem property set to 40 pixels.

WinExplorer View - Indent Between Group and Item

You can also specify the indent between groups via the WinExplorerViewStyleOptions.IndentBetweenGroups property.

See Also