能否将窗口样式应用在非MainWindow上面呢? #102
Answered
by
NotYoojun
clear-zhao
asked this question in
Q&A
-
我是wpf新手,就是想在项目里使用一下这个库,但是我项目已经写了好多了,无法在MainWindow里面使用了,我看文档第一章设置里,下载好库以后在App.xaml里合并了资源,然后就在MainWindow里面设置了,我想问能不能在其他窗口设置样式呢? |
Beta Was this translation helpful? Give feedback.
Answered by
NotYoojun
Nov 4, 2024
Replies: 1 comment
-
ui:ThemeResources 和 ui:XamlControlsResources 都是 App.xaml 里的。每个窗口里面只需要设置 UseModernWindowStyle 为 True 就可以了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
clear-zhao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ui:ThemeResources 和 ui:XamlControlsResources 都是 App.xaml 里的。每个窗口里面只需要设置 UseModernWindowStyle 为 True 就可以了。