Closed ivanjx closed 5 years ago
@realivanjx To fix this issue just add the style to the page Style="{DynamicResource MetroPage}"
. This is the same WPF issue like if you want to use a default style for a Window. I can fix this only by adding the style explicit to the Page or I create a derived class like MetroPage
which get's the style with the DefaultStyle key.
Is MetroPage
style available on version 1.6.5
? I tried but vs2017 seems to not detecting it
@realivanjx Yes, it's added via Controls.xaml.
Is it under this? I use this for MetroWindow
but idk for MetroPage
:
xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
@realivanjx It's a style not a Control.
Thanks. It runs successfully and fixes the issue but vs2017 somehow throws an error:
'Page' TargetType does not match type of element 'PageInstance'
Is that normal?
@realivanjx I don't know, this is related to which VS you use and/or which SDK...
Describe the bug When im using this library's dark theme (BaseDark), i noticed that text color is not converted/applied properly if the control is under a Frame (currently only textblock faced this issue). Please fix this.
To Reproduce Steps to reproduce the behavior:
Expected behavior Textblock control text color converted properly to match the theme (should be white).
Screenshots
Running app result:
Environment:
App.xaml contents: