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

BaseOptionsView.CategoryLevelIndentStyle Property

Gets or sets how to draw indents for categories and row headers.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

[DefaultValue(CategoryLevelIndentStyle.Vertical)]
[XtraSerializableProperty]
public virtual CategoryLevelIndentStyle CategoryLevelIndentStyle { get; set; }

#Property Value

Type Default Description
DevExpress.XtraVerticalGrid.CategoryLevelIndentStyle Vertical

A DevExpress.XtraVerticalGrid.CategoryLevelIndentStyle enumeration value that specifies the style used to indent row headers. The default is Vertical.

#Property Paths

You can access this nested property as listed below:

Object Type Path to CategoryLevelIndentStyle
VGridControlBase
.OptionsView .CategoryLevelIndentStyle

#Remarks

When the CategoryLevelIndentStyle property is set to Vertical (default), row headers are indented using vertical lines.

VGridOptionsView_CategoryLevelIndentStyle_Vert

Set the CategoryLevelIndentStyle property to Horizontal to hide these lines and visually start row headers from the control’s left edge.

VGridOptionsView_CategoryLevelIndentStyle_Horz

You can also disable the root row indent by setting the BaseOptionsView.ShowRootLevelIndent property to false.

See Also