Add multiple Styles to Silverlight Control
- by lidermin
Hello, I'm using silverlight and I defined two styles for the page:
ExpanderBottomRightButtonStyle
ExpanderScaleStyle
Now I want to add those two styles to the same control:
<controls:Expander x:Name="expBRButton" Grid.Row="1" Grid.Column="2" Margin="5" Style="{StaticResource ExpanderBottomRightButtonStyle}">
<controls:Expander.Content>
<Button Content="<Button>"></Button>
</controls:Expander.Content>
</controls:Expander>
I don't want to join the two styles in one, cause I need them separately too.
I thought something like:
Style="{StaticResource ExpanderBottomRightButtonStyle ExpanderScaleStyle}"
But it's not possible. How should I do this?
I'm new on Silverlight 3.
Thanks in advance.