Replies: 1 comment
-
Because WD's control library has replaced the default TabControl and Datagrid, if you want to use your own style, you need to put WD's resources at the end. <Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<!--<ResourceDictionary Source="MyTabControlStyle.xaml"/> Put your own style resource xaml here-->
<ResourceDictionary Source="pack://application:,,,/WPFDevelopers;component/Themes/Light.Blue.xaml"/>
<!--需要注意 wd:Resources 必须在配色主题后,Theme="Dark" 为黑色皮肤-->
<wd:Resources Theme="Light"/>
<ResourceDictionary Source="pack://application:,,,/WPFDevelopers;component/Themes/Theme.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi !
It is possible?
My TabControl, Datagrid, etc... are now completly different, it is a way to keep old aspect?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions