Tuesday, June 1, 2010

Read-only ComboBox in Windows Form

Problem:
You are using a ComboBox as a drop down list and want to disallow the user from typing in the box.

Solution:
Set the ComboBox's DropDownStyle to "DropDownList"

References
1.
Make combobox readonly - C# / C Sharp answers

No comments:

Post a Comment

There was an error in this gadget