I wanting to you the styles from ModernUI with just a UserControl meaning i have no app.xaml file and i am unsure how to reference firstfloor.ModernUI in just to a usercontrol to inherit the styling.
Asked
Active
Viewed 646 times
1 Answers
0
You can add the styles as resources in your user control:
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.xaml" />
<ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Dark.xaml"/>
...

Mark Richman
- 28,948
- 25
- 99
- 159