I'm searching how to skin an application with a complex resource: I have a skin file in which I put canvas, with images other canvas something like whis:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" >
<Style x:Key="MainBackground" TargetType="{x:Type Canvas}">
<Setter Property="Canvas">
<Setter.Value>
<Canvas Width="1440.000" Height="900.000" >
</Canvas>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
How can I load this skin in the main app? something like:
<Window >
<Canvas Style = "{StaticResource MainBackground}">
</Canvas>
</Window >