Skip to main content
Bar

BarItem.CategoryName Property

Gets or sets the name of 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)]
[XtraSerializableProperty]
public string CategoryName { get; set; }

#Property Value

Type Description
String

A string that specifies the name of the category to which the bar item belongs.

#Remarks

Use the CategoryName property to assign a bar item to a category. Another way to assign a bar item to a category is to use the BarItem.Category property. To learn more, see Categories.

See Also