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="pack://application:,,,/WPFDevelopers;component/Themes/Theme.xaml" />
<!-- 需要注意 wd:Resources 必须在Theme.xaml后 -->
<!-- 默认情况下,Theme 会跟随系统主题(适用于 Windows 10 及以上版本),自动切换为 Light 或 Dark 模式。
若要手动设置为 Light 模式,可以使用 Theme="Light"。
你还可以自定义主题色,使用 Color="Fuchsia"(例如设置为 Fuchsia)-->
<wd:Resources />
</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
Uh oh!
There was an error while loading. Please reload this page.
-
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