Back to Devexpress

BarItem.CategoryIndex Property

windowsforms-devexpress-dot-xtrabars-dot-baritem-18a97300.md

latest1.7 KB
Original Source

BarItem.CategoryIndex Property

OBSOLETE

You should use 'CategoryGuid' or 'Category' instead of property 'CategoryIndex'

Gets or sets the index of the category to which the current item belongs.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("You should use 'CategoryGuid' or 'Category' instead of property 'CategoryIndex'")]
public int CategoryIndex { get; set; }
vb
<Obsolete("You should use 'CategoryGuid' or 'Category' instead of property 'CategoryIndex'")>
<EditorBrowsable(EditorBrowsableState.Never)>
<Browsable(False)>
Public Property CategoryIndex As Integer

Property Value

TypeDescription
Int32

The category index of the current item.

|

Remarks

A category represents a group of items. Categories are designed to easily manage item behavior.

See Also

How To: Organize Bar Items into Categories

BarItem Class

BarItem Members

DevExpress.XtraBars Namespace