Back to Devexpress

BarItem.Category Property

windowsforms-devexpress-dot-xtrabars-dot-baritem-b6a89984.md

latest2.2 KB
Original Source

BarItem.Category Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public BarManagerCategory Category { get; set; }
vb
<Browsable(False)>
Public Property Category As BarManagerCategory

Property Value

TypeDescription
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

Manager

Bar Item Links

How To: Organize Bar Items into Categories

BarItem Class

BarItem Members

DevExpress.XtraBars Namespace