I am having an issue with a ComboBox with DropDownStyle = DropDown.
I need the drop-down because I fill the text and paint the text color on runtime.
Need a solution for the following issues:
- Disable the text selection when the drop-down menu is open and closed – I managed to disable it when the menu is closed by updating the SelectionLength property to 0 but I still see the highlighted text when the drop-down menu is open.
- When I collapse/expand the left panel, all the combo boxes are highlighted.
- I want to disable the right-click menu.
I can’t define the ComboBox as DropDownList because then the background will be gray, the text is black and I can’t write a default value. Please see the following example in the picture: