Back to Devexpress

BaseOptionsView.CategoryLevelIndentStyle Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-baseoptionsview-175b0d78.md

latest2.8 KB
Original Source

BaseOptionsView.CategoryLevelIndentStyle Property

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

Declaration

csharp
[DefaultValue(CategoryLevelIndentStyle.Vertical)]
[XtraSerializableProperty]
public virtual CategoryLevelIndentStyle CategoryLevelIndentStyle { get; set; }
vb
<DefaultValue(CategoryLevelIndentStyle.Vertical)>
<XtraSerializableProperty>
Public Overridable Property CategoryLevelIndentStyle As CategoryLevelIndentStyle

Property Value

TypeDefaultDescription
DevExpress.XtraVerticalGrid.CategoryLevelIndentStyleVertical

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 TypePath to CategoryLevelIndentStyle
VGridControlBase

.OptionsView .CategoryLevelIndentStyle

|

Remarks

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

ShowRootLevelIndent

LevelIndent

BaseOptionsView Class

BaseOptionsView Members

DevExpress.XtraVerticalGrid Namespace