locked
creating own rating control RRS feed

  • Question

  • hi all,

     

    i need to create a personal rating control in sl3.

    the standard control shows 5 stars (for example) and on the mouse over, stars change colour.

    i need to show also the medium vote, so that the normal state of the 5 stars will show (if the medium vote is 2) the first 2 stars in one color, while the others 3 in an other one. the mouse over effect would be the same

     

    i don't know what to do.

    do i have to extend the rating control? 

     

    thanks in advance!

    Thursday, October 15, 2009 10:57 AM

Answers

  • but i need a rating control with a function more: showing the medium vote, so that stars in the normal state would have two different colours
     

    You can create your own control by deriving/customizing the Silverlight Toolkit's Rating control. The source should be there inside the installation directory in your computer.

    Sunday, October 18, 2009 2:52 AM

All replies

  • Thursday, October 15, 2009 12:08 PM
  •  hi,

     

    i know there's a rating control

    but i need a rating control with a function more: showing the medium vote, so that stars in the normal state would have two different colours

    Friday, October 16, 2009 2:00 AM
  • In that case, you have to use your own rating control...

    Saturday, October 17, 2009 10:57 AM
  • but i need a rating control with a function more: showing the medium vote, so that stars in the normal state would have two different colours
     

    You can create your own control by deriving/customizing the Silverlight Toolkit's Rating control. The source should be there inside the installation directory in your computer.

    Sunday, October 18, 2009 2:52 AM