1.样式关键点
<UserControl.Resources>
<!-- 将样式应用于按钮Button-->
<Style TargetType="Button" x:Key="t1">
<!-- 设置Button上字体色为蓝色到红色渐变-->
<Setter Property="Foreground">
<Setter.Value>
<LinearGr
Silverlight之资源样式的应用(5)
最新推荐文章于 2013-12-30 16:42:35 发布