Skip to main content
Bar

BarManagerCategory Class

An individual category.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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