Key ShortCuts
Use the code below to open the drop-down menu using shortcuts(Please refer to the help section about adding shortcuts to controls for adding the shortcut itself):
Controls / Buttons / DropDownButton
New to Telerik UI for WinForms? Download free 30-day trial
Use the code below to open the drop-down menu using shortcuts(Please refer to the help section about adding shortcuts to controls for adding the shortcut itself):
public DropDownButton()
{
InitializeComponent();
this.radDropDownButton1.DropDownButtonElement.Shortcuts.Add(new RadShortcut(Keys.Control, Keys.N));
this.radDropDownButton1.DropDownButtonElement.Click += new EventHandler(DropDownButtonElement_Click);
}
void DropDownButtonElement_Click(object sender, EventArgs e)
{
this.radDropDownButton1.ShowDropDown();
}
Public Sub New()
InitializeComponent()
Me.radDropDownButton1.DropDownButtonElement.Shortcuts.Add(New RadShortcut(Keys.Control, Keys.B))
AddHandler Me.radDropDownButton1.DropDownButtonElement.Click, AddressOf DropDownButtonElement_Click
End Sub
Sub DropDownButtonElement_Click(ByVal sender As Object, ByVal e As EventArgs)
Me.radDropDownButton1.ShowDropDown()
End Sub
Copyright © 2025 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.