TileNavPane.Categories Property
Provides access to the collection of navigation categories.
Namespace: DevExpress.XtraBars.Navigation
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
TileNavCategoryCollection | The TileNavCategoryCollection object representing the collection of navigation categories. |
Remarks
The TileNavPane displays either three levels of navigation elements (categories - items - subitems) or two levels (items - subitems). In the first case, categories (TileNavCategory) are the root-level navigation elements. Each category contains items (TileNavCategory.Items), each of which in turn contains sub-items (TileNavItem.SubItems). To add new categories and access existing categories, use the Categories collection.
The reduced two-level hierarchy omits the categories level. To display the two-level navigation hierarchy, set the TileNavPane.MainButtonBehavior property to ShowDefaultCategoryItems and specify the root-level navigation elements (items) via the TileNavPane.DefaultCategory.Items collection, which can be accessed by the TileNavPane.DefaultCategory property.
To manage the collection of TileNavPane‘s categories at design time, you can invoke the TileNavPane Designer.