The Type and Search feature in not available out of the box for System.Windows.Forms.CheckedListBox or System.Windows.Forms.ListBox controls in .net. So, I thought to just share a simple trick with which this could be easily managed.
We can take two approaches to achieve this -
- Either we can go for creating a Custom control for this.
- And if this feature is not required at a general level, we can implement the functionality at the form/user control level.
Now, without talking much on this, I will take you straight away to the implementation -
The below is the code generated by the designer followed by the code to be written to make the type and search work -
The above code is well commented. Still, if I have missed anything please feel free to revert with your comment. Hope, this small trick will prove to be helpful.