I set the Background color of the tabitem in the xaml to RED, but when i run it and hover over it or select it it changes back the the default greyish looking. It only shows correctly when the other tabitem is selected. How do i keep it RED all the time. Thanks!
相关问题
- VNC control for WPF application
- How to stylize text in an alert box? [duplicate]
- WPF Binding from System.Windows.SystemParameters.P
- XAML: Applying styles to nested controls
- XAML: Applying styles to nested controls
Here is example of TabItem ControlTemplate
Copy it to your resources and set wherever you need Red color as Background.
SAMPLE
Create test WPF project and paste sample code instead of Window1.xaml code.