Articles in this section

How to specify a shortcut to the BarItem, which is not available in the Shortcut enum in WinForms XPToolBar?

Shortcut

The Shortcut property is used to set the shortcuts. Please refer the below code snippet which illustrates this:

C#

this.parentBarItem1.Shortcut = (Shortcut)(Keys.Alt | Keys.Left);

VB

Me.parentBarItem2.Shortcut = CType(Keys.Alt Or Keys.Left, Shortcut)
Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied