We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How do I show the dropdown list when a key is pressed in the ComboBox cell?

By default, the dropdown list is shown when the mouse is clicked on the dropdown button of the ComboBox cell. To show the dropdown list when any key is pressed in the ComboBox cell, the CurrentCell.ShowDropDown() method is used in the CurrentCellKeyPress event.

C#

 

VB

 

After applying the properties, the Grid looks like the following screenshot.

Note: Only the dropdown list values should be entered, otherwise, the dropdown is not shown.

 Sample Links:

C#: Dropdown

VB: Dropdown

Article ID: Published Date: Last Revised Date: Platform: Control:
4620 04/21/2015 04/23/2015 Windows Forms GridControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.