I need to change back-color of a ToolStripDropDownButton
when its drop-down is opened. How can I do it?
I tried to inherit a class from the ToolStripProfessionalRenderer
and then override the OnRenderDropDownButtonBackground
, but it only affects when the drop-down is closed.
I believe you can use the following approaches:
1-st approach:
2-nd approach: