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

Member Table: Item Clicking and Selecting

  • 2 minutes to read

#Properties

Property (Methods) Description
NavBarControl.AllowSelectItem

Gets or sets a value specifying whether items can be selected. This is a dependency property.

NavBarControl.AllowSelectDisabledItem

Gets or sets a value that specifies whether disabled items are allowed to be selected. This is a dependency property.

NavBarControl.EachGroupHasSelectedItem

Gets or sets a value specifying whether each group can have a selected item. This is a dependency property.

NavBarItem.IsSelected

Gets a value that specifies whether the item is selected. This is a dependency property.

NavBarControl.SelectedItem Gets or sets the NavBarItem currently selected within this NavBarControl.
NavBarControl.SelectedItems Gets or sets the collection of NavBarItems currently selected within this NavBarControl.
NavBarGroup.SelectedItem

Gets or sets an object representing the group’s selected item. This is a dependency property.

NavBarGroup.SelectedItemIndex

Gets or sets a value specifying the index of the group’s selected item. This is a dependency property.

#Events

Property (Methods) Description
NavBarViewBase.Click Fires immediately after an end-user performs a click within the view.
NavBarItem.Click Fires immediately after an end-user has clicked a group item.
NavBarGroup.Click Fires immediately after an end-user clicks the current group’s header.
NavBarViewBase.ItemSelecting Fires before an item is selected.
NavBarViewBase.ItemSelected Fires immediately after an item has been selected.
NavBarItem.Select Fires when a NavBarItem is selected.

#Command

Property (Methods) Description
NavBarCommands.SelectItem Selects the specified item.
NavBarItem.Command Gets or sets the command to invoke when the NavBar item is clicked.