Skip to content

Update on the rating control

October 18, 2010

A few days ago I wrote about the porting of the rating control to Silverlight for Windows Phone 7. I attached to the post a project with a sample including the default template and a custom one called “half star”. The latest has a bug when the default size is changed:


I removed the fixed width size in the RatingItemRightStyle on the border object of the right side. The width of the 3 paths objects (for each half) still needs to be changed, making the selected value to be homothetic (here 20px for an height of 40px).

And now the control can be bigger without glitches:


The project is available from

5 Comments leave one →
  1. pivosnig permalink
    April 26, 2011 3:34 pm

    I tried to make the control bigger by setting Height to 80, but its still not adapting the width properly. How can i make the control bigger? thanks!

  2. May 18, 2011 5:40 am

    Thanks for the post. Although the rating control works good in the Emulator my client says they are facing some issues selecting items when using it on a real phone. Did anyone came across similar issue?

    • May 18, 2011 6:36 pm

      Hello Udit,

      This was more an experimentation since I never used this control in an app published (it was before I got a phone). For sure the control must be changed to use the Manipulation_XXX events instead of the Mouse_XXX ones.



  1. Using the Rating Control in Windows Phone 7 « Windows Phone 7 Wonders

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: