Skip to main content
Bar

BarItem.Category Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[Browsable(false)]
public BarManagerCategory Category { get; set; }

Property Value

Type Description
BarManagerCategory

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

Remarks

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