C#, TabControl, Visual Styles - How can I give a panel a visual background similar to the TabControl background?
-
31-05-2021 - |
Question
How could I give a panel or any other control the style of a TabControl (the control itself, not the tab pages). What I mean is to give a control a border, then a shadow effect, and a gradient background color?
Solution
You can take a look at control template for TabControl (how to get default control templates - Control template for existing controls in WPF) and create appropriate styles/control templates for your controls.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow