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

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

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