Skip to main content
A newer version of this page is available. .

BaseOptionsView.ShowRootCategories Property

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v19.2.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowRootCategories { get; set; }

Property Value

Type Default Description
Boolean **true**

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

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowRootCategories
PropertyGridControl
.OptionsView.ShowRootCategories
VGridControl
.OptionsView.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowRootCategories property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also