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

Bar Item Behavior Options

#Bar Item Behavior Options

A bar item‘s functionality is invoked when this item is clicked or when a link that refers to this item is clicked. To allow an end-user to invoke actions assigned to bar items using a keyboard, you can specify a shortcut with the BarItem.KeyGesture property, and implement Key Tips.

A bar item’s functionality can be implemented by assigning commands to the items or by handling specific events.

A command can be specified by using the BarItem.Command property. If you decide to use events, you can choose between the BarItem.ItemClick and BarManager.ItemClick events. For check bar items (BarCheckItem), handle the BarCheckItem.CheckedChanged event to implement specific functionality.

See Also