-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User control issue in the app #47
Comments
Where did you put |
I was able to get this to work for UserControl by manually merging resources for UserControl, and then forcing the style on the buttons:
|
I don't think this is a good idea. It will make the theme resources loaded twice. |
Any guides on how I can do this? Would really appreciate it - sorry I'm a little new to WPF development |
OK removing the
|
@biocross Maybe this solution is not bad. However, in my scenario, everything works fine when adding themes into app.xaml. I don't know why this doesn't work for you guys. I'm really confused. |
The library looks good on my application, it has several styles that are making my windows look modern. Like, this how I implemented a settings page in my app.
The issue is, when I am trying to enable the same modern styles on the user control, it is showing different behaviour. Like this is how the buttons are looking here.
Kindly suggest a way to fix the same, so that the user control have the same properties as a normal window.
The text was updated successfully, but these errors were encountered: