Skip to main content

Bar Item Behavior Options

 

#Bar Item Behavior Options

A bar item's functionality is typically invoked upon clicking the corresponding bar item link. To allow an end-user to access bar item links via a keyboard, you can assign a shortcut to an item via the BarItem.KeyGesture property.

You can assign a command to a bar item via the BarItem.Command property.

To perform custom actions when a bar item link is clicked, you can handle specific events. For regular bar items you can handle the BarItem.ItemClick or BarManager.ItemClick event. For check bar items (BarCheckItem), you can handle the BarCheckItem.CheckedChanged event.