Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TileNavPane.Categories Property

Provides access to the collection of navigation categories.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public TileNavCategoryCollection Categories { get; }

#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.

TileNavPane_SmartTagMenu

TileNavPane_TilesDesigner

See Also