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

BarItem.Category Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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