I have a Combo in DropDownList mode and when the item is selected it shows it in blue. Im aware this is the operating Systems setting for selected text but i would like to know if there is any other way to not have it like that.
Im going for the DropDownButton look to some degree but dont know how to achieve it. Any Help is appreciated.
You could use the IUIElementDrawFilter interface to take over the drawing for that element (Infragistics.Win.EditorWithTextDisplayTextUIElement). In your case you would want to handle the BeforeDrawBackColor drawing phase, fill the background with the color you want to use,. and return true to indicate that it was handled.
Hi, Thanks for replying. Im not sure exactly how to implement your suggestion.
Cheers.
There are knowledge base articles on the subject; search for "draw filter" or "IUIElementDrawFilter"