Category / Section
How to specify a shortcut to the BarItem's which is not available in the Shortcut enum in WinForms XPToolBar?
1 min read
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)