I know I can write a Setter in Silverlight like this:
<Setter Property="Background" Value="{StaticResource MyBrush}" />
However, due to other considerations, I have to write the setter in the format:
<Setter Property="Background">
<Setter.Value>
????? static resource
</Setter.Value>
</Setter>
Any examples I've seen have the value set as the full brush but I want to use an existing resource and I don't know how to write it. Its not just brushes, I'm having trouble with the concept in general trying to work out the right type of property to try and set the value for. Any tips?
Jeff