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

BarManagerCategory Class

An individual category.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public class BarManagerCategory :
    MarshalByRefObject,
    ICloneable,
    ISerializable

Remarks

Categories are used to logically organize bar items. Individual categories are represented by the BarManagerCategory objects. All categories reside within the BarManager’s BarManager.Categories collection and are displayed within the Customization Window. Thus, a newly created category object should be added to this collection in order to take effect. Note that the category’s name should be unique, because if its name is identical to an existing category, an argument exception will be raised when adding it to the collection.

To display a bar item within the category, you need to set its BarItem.Category property to the desired category object.

Please refer to the How To: Organize Bar Items into Categories topic for additional information on categories.

Inheritance

Object
MarshalByRefObject
BarManagerCategory
See Also