
1. Our solution has a WPF application project and a library DLL that includes custom WPF user controls. If I follow the getting started steps to set an application-wide theme to my WPF application, will that theme be automatically applied to any user controls loaded from the referenced library DLL?
2. After reading the documentation, I'm still unclear on how I can override an Actipro theme's default styles in XAML. For instance, let's say I wanted to alter a button's default style to include some attached behaviors.
Would the style look like this?
<Style
TargetType="{x:Type Button}"
BasedOn="{StaticResource ButtonBaseStyleKey}"
>
...
</Style>
3. Let's say I have a XAML file that includes overriden default styles in my application project. How I can apply those styles to my application? Should the file be referenced as a ResourceDictionary in the application's App.xaml file?
Thanks,
-Craig