Back to Devexpress

BarManagerCategory Class

windowsforms-devexpress-dot-xtrabars-cb526ae8.md

latest3.8 KB
Original Source

BarManagerCategory Class

An individual category.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class BarManagerCategory :
    MarshalByRefObject,
    ICloneable,
    ISerializable
vb
Public Class BarManagerCategory
    Inherits MarshalByRefObject
    Implements ICloneable,
               ISerializable

The following members return BarManagerCategory objects:

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

BarManagerCategory Members

BarManagerCategoryCollection

How To: Organize Bar Items into Categories

Categories

Category

DevExpress.XtraBars Namespace