4
我使用Silverlight和我定义了两种风格的页面:多个样式添加到Silverlight控件
- ExpanderBottomRightButtonStyle
- ExpanderScaleStyle
现在,我想补充的两种风格的相同的控制:
<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>
我不想加入两个样式在一个,cau我也需要他们分开。
我想是这样的:
Style="{StaticResource ExpanderBottomRightButtonStyle ExpanderScaleStyle}"
但是这是不可能的。我应该怎么做?
我是Silverlight 3新手。
在此先感谢。
感谢您的回答,我会尝试。 – lidermin 2010-04-22 15:30:32