Resource Dictionary
Posted: 04 Dec 2014, 19:28
Hi Guys,
Sorry for the newbie question, but this is my first time using Resource Dictionaries with Noesis. I've read the documentation, but I'm not connecting the dots.
I've created a merged dictionary and put a few button styles in it. The buttons look fine in WPF, but default to the Noesis Style in XAML Player.
The merged dictionary is being set in app.xaml:
And then I have my resource dictionary, ResourceDictionaryButtonStyles.xaml. These files are in the same directory as my other XAML files.
Ultimately, I'll have a few more resource dictionaries for button styles, colors and languages.
Again, sorry for the simple question and thanks!
Rob
Sorry for the newbie question, but this is my first time using Resource Dictionaries with Noesis. I've read the documentation, but I'm not connecting the dots.
I've created a merged dictionary and put a few button styles in it. The buttons look fine in WPF, but default to the Noesis Style in XAML Player.
The merged dictionary is being set in app.xaml:
Code: Select all
<Application.Resources>
<!-- Resources scoped at the Application level should be defined here. -->
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="ResourceDictionaryButtonStyles.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>Ultimately, I'll have a few more resource dictionaries for button styles, colors and languages.
Again, sorry for the simple question and thanks!
Rob