Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarManagerCategory Class

An individual category.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.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