Created
October 16, 2013 02:09
-
-
Save tianhonghui/7001593 to your computer and use it in GitHub Desktop.
Change WPToolkit rating control color
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Style x:Key="RatingStyle" TargetType="toolkit:Rating"> | |
<Setter Property="AllowHalfItemIncrement" Value="True" /> | |
<Setter Property="Width" Value="100" /> | |
<Setter Property="Height" Value="20" /> | |
<Setter Property="FilledItemStyle"> | |
<Setter.Value> | |
<Style TargetType="toolkit:RatingItem"> | |
<Setter Property="Background" | |
Value="#FF9900" /> | |
</Style> | |
</Setter.Value> | |
</Setter> | |
<Setter Property="UnfilledItemStyle"> | |
<Setter.Value> | |
<Style TargetType="toolkit:RatingItem"> | |
<Setter Property="Background" | |
Value="#E0E0E0" /> | |
</Style> | |
</Setter.Value> | |
</Setter> | |
</Style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
heyyy the post made my life easy. can you please help me more to create to rating templates for my requirements. The image (http://screencast.com/t/MapUElp8) contains 2 rating controls for place rating and its average price. Please help me creating the templates. Thanks