- 2 minutes to read
Items are group content elements that can be manipulated (clicked) by end-users. Commonly, an item can be represented by its content (such as text or custom content) and an image.
Each group maintains its items in the NavBarGroup.Items collection, which is represented by the NavBarItemCollection object. This collection allows you to add, delete and access individual items represented by NavBarItem objects. The functionality exposed by the NavBarItem object via its properties allows items to be customized as follows.
An item’s content can be defined via the NavBarItem.Content property (see the Item Content Model topic to learn more). An image can be associated with an item by using the NavBarItem.ImageSource property.
An item’s visibility and availability to end-users can be controlled by the NavBarItem.IsVisible and DXFrameworkContentElement.IsEnabled properties, respectively. If item selection is enabled within the DXNavBar, the selected state of an item can be determined via the NavBarItem.IsSelected property (see Clicking and Selecting Items to learn more).