Articles in this section
Category / Section

How to set the shortcut keys for form elements in WinForms RibbonControlAdv?

1 min read

Shortcut keys

The SetShortcut method gets or sets the shortcut keys for easy access through the keyboard.

C#

this.SetShortcut(this.toolStripTabItem1,((System.Windows.Forms.Keys) (((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.T);

VB

Me.SetShortcut(Me.ToolStripTabItem1, CType(((System.Windows.Forms.Keys.Control or System.Windows.Forms.Keys.Shift) _ or System.Windows.Forms.Keys.T), System.Windows.Forms.Keys))

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied