wp8系列之Rating

WP8的控件中提供了Rating控件,你可能在系统给的属性中没有找到可以改变选中颜色的属性,程序可以去看看源码。

美工用以下解决方法

<toolkit:Rating x:Name="tookKitRating" Margin="0" Background="{x:Null}">
<toolkit:Rating.Style>
<Style TargetType="toolkit:Rating">
<Setter Property="FilledItemStyle">
<Setter.Value>
<Style TargetType="toolkit:RatingItem">
<Setter Property="Background" Value="#ff6F665C" />
</Style>
</Setter.Value>
</Setter>
</Style>
</toolkit:Rating.Style>

posted @ 2013-05-28 14:21  鱼胖  阅读(768)  评论(0编辑  收藏  举报