Back to Devexpress

BaseOptionsView.ShowRootCategories Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-baseoptionsview-8b8e6e07.md

latest2.5 KB
Original Source

BaseOptionsView.ShowRootCategories Property

Gets or sets whether top-level category rows are visible.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowRootCategories { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ShowRootCategories As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if root category rows are visible; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowRootCategories
VGridControlBase

.OptionsView .ShowRootCategories

|

Remarks

If the ShowRootCategories property is set to false top-level category rows are not displayed and regular rows that belong to the category rows are arranged as a linear list in alphabetical order. In addition, in this mode, the Property Grid Control doesn’t permit rows to be rearranged using drag and drop or in code. For more information on runtime row reordering ,see the Using Drag and Drop topic.

Hiding root category rows is generally useful for the PropertyGridControl.

See Also

PropertySort

BaseOptionsView Class

BaseOptionsView Members

DevExpress.XtraVerticalGrid Namespace