Is there a way to get WinForms controls MenuStrip
and ToolStrip
to rendering using the current system theme?
Normally the WinForms MenuStrip
and ToolStrip
controls have a RenderMode
property, which points to a class that handles the rendering:
-
-
-
which defaults to whatever
ToolStripManager.Renderer
uses (i.e. Professional or System)
Neither of these renderers use the Windows system theme:
How can i get a .NET WinForms MenuStrip
and ToolStrip
control to use the system theme?
i could ask some related, but different, questions:
- does the .NET FCL contain a
ToolStripRenderer
that implements "system" rendering? - has anyone written a
ToolStripRenderer
that implements "system" rendering?