Back to Devexpress

RibbonControl.Categories Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-d930a597.md

latest2.5 KB
Original Source

RibbonControl.Categories Property

Gets a collection of categories used to logically organize bar items.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[SkipRuntimeSerialization]
public BarManagerCategoryCollection Categories { get; }
vb
<Browsable(False)>
<SkipRuntimeSerialization>
Public ReadOnly Property Categories As BarManagerCategoryCollection

Property Value

TypeDescription
BarManagerCategoryCollection

A BarManagerCategoryCollection object that represents the collection of categories.

|

Remarks

Categories are used to logically organize items thus providing a convenient way to access items from the Customization Form. The Categories property allows you to add, remove and get individual categories. Each category is represented by a BarManagerCategory object.

You can assign an item to a specific category by specifying the item’s BarItem.Category property.

For more information, see How To: Organize Bar Items into Categories.

See Also

MergedCategories

How To: Organize Bar Items into Categories

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace