BarItem.Category Property

Gets or sets a category where the bar item is displayed.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.1.dll


public BarManagerCategory Category { get; set; }

Property Value

Type Description

A BarManagerCategory object representing a category where the item is displayed. null (Nothing in Visual Basic) if the item has no owning BarManager.


Categories are used to logically organize bar items, they are designed to easily manage item behavior. Setting the Category property to null (Nothing in Visual Basic) automatically sets this property to BarManagerCategory.DefaultCategory property value.

For more information on categories, see the How To: Organize Bar Items into Categories topic.

See Also