3

I have seen a rating control in JavaScript/HTML Project for windows 8 . BUt I couldn't see anything like that in XAML yet . :(

Any idea how to achieve rating control in windows 8 ?..

Seems like Microsoft treating XAML guys as second guys :(...

svick
  • 236,525
  • 50
  • 385
  • 514
Null Pointer
  • 9,089
  • 26
  • 73
  • 118
  • Have you tried creating one yourself? What were the problems you encountered? – svick Apr 05 '12 at 07:07
  • I am trying to create one user control right now. because of I am newbie to xaml and most of the samples got from net not work in metro, everything going wrong – Null Pointer Apr 05 '12 at 07:23
  • You could try to port rating control from Silverlight Toolkit. I ported TransitioningContentControl successfully, so it shouldn't be too hard. Or you could wait till Metro XAML Toolkit is available. – Denis Apr 05 '12 at 20:22

3 Answers3

12

There is also a ratings control in Callisto

https://github.com/timheuer/Callisto

Example code that shows 3 our of 5 stars lit up:

<callisto:Rating
    Value="3" ItemCount="5"
    Background="Transparent" Foreground="Gold" />
Chris Pietschmann
  • 29,502
  • 35
  • 121
  • 166
George
  • 1,508
  • 16
  • 13
  • How to get the start number in c# when i use callisto package.And is there a way to give rating to decimal levels also. Thanks – djkpA Jul 07 '15 at 16:20
1

App promo project is good for user ratings in Windows/WP. I was searching for more than a day and now I am happy to use and share app promo.

Regarding App promo : App Promo is a tiny control library for Windows Phone and Windows 8. It has a RateReminder control to solve rating problems.

Links :

  1. App promo - code.msdn.microsoft.com
  2. App promo - Source code
Kols
  • 3,641
  • 2
  • 34
  • 42
0

I ported an open source control for displaying ratings with stars from WPF.

Maybe you can start from there, or find it useful.

http://igrali.wordpress.com/2012/05/20/show-ratings-with-stars-in-winrt-xaml/

http://metrorate.codeplex.com/

Igor Ralic
  • 14,975
  • 4
  • 43
  • 51
  • 1
    It is not working... No matter the value is.. but the color of stars does not change – Jayant Varshney Jan 17 '13 at 04:56
  • It's been written and tested for the preview version of the Windows... You might want to check the code and the discussions on CodePlex for some edits... – Igor Ralic Jan 17 '13 at 12:54
  • @bendewey that's been answered on May 2012, while Windows 8 was in preview, and it worked then. I said that in the comments. – Igor Ralic May 31 '13 at 10:43