Skip to main content
Bar

BarItem.Category Property

Gets or sets the category to which the bar item belongs. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

[DesignerSerializationOptions(DesignerSerializationOptions.SerializeAsAttribute)]
public BarManagerCategory Category { get; set; }

#Property Value

Type Description
BarManagerCategory

A BarManagerCategory object that specifies the item's category.

#Remarks

You can assign an item to a category via the Category or BarItem.CategoryName property. The BarItem.CategoryName property specifies the name of the Category.

To learn more, see Categories.

See Also