TabRenderer with no visual styles enabled?
- by DxCK
I want to draw a custom TabControl with custom functionality.
To do this, i inherited the Panel class and overrided OnPaint method to draw with TabRenderer class.
The problem is that TabRenderer working only when visual styles enabled (can be checked with TabRenderer.IsSupported), but what should i do if visual styles disabled?
In this case, I thought using the ControlPaint class to draw tabs without visual styles, but it has no draw method related to Tabs. I want it basically to behave visually like the regular TabControl.