windowsforms-devexpress-dot-xtraverticalgrid-dot-baseoptionsview-175b0d78.md
Gets or sets how to draw indents for categories and row headers.
Namespace : DevExpress.XtraVerticalGrid
Assembly : DevExpress.XtraVerticalGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid
[DefaultValue(CategoryLevelIndentStyle.Vertical)]
[XtraSerializableProperty]
public virtual CategoryLevelIndentStyle CategoryLevelIndentStyle { get; set; }
<DefaultValue(CategoryLevelIndentStyle.Vertical)>
<XtraSerializableProperty>
Public Overridable Property CategoryLevelIndentStyle As CategoryLevelIndentStyle
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to CategoryLevelIndentStyle |
|---|---|
| VGridControlBase |
.OptionsView .CategoryLevelIndentStyle
|
When the CategoryLevelIndentStyle property is set to Vertical (default), row headers are indented using vertical lines.
Set the CategoryLevelIndentStyle property to Horizontal to hide these lines and visually start row headers from the control’s left edge.
You can also disable the root row indent by setting the BaseOptionsView.ShowRootLevelIndent property to false.
See Also