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