In Silverlight 8.x you can use the Toolkit Rating control to provide standard star rating functionality in your app. If you’re moving to a Windows Phone 8.1 App project you can’t use the Silverlight based toolkit and there isn’t a native control to replace it.
If you’ve worked with Windows Store apps you’re probably familiar with the Callisto toolkit – a set of controls for Windows Store apps that brought things like settings flyouts (prior to them being rolled into the Windows Runtime) and a rating control. You can use this control within a Phone app with one caveat. If you try to reference the NuGet package for Callisto it will tell you it contains no library for Phone apps. However if you are using a Universal project this is easy to overcome:-
- Add the Callisto NuGet package to your Windows Store app
- In your Phone project select Add Reference and browse to the packages folder in the root of your solution
- Locate Callisto.1.4.0/lib/netcore451 and select Callisto.dll
- Bingo you can now add the rating control to your phone project.
I haven’t tested all the functionality in a Phone project so it is possible there may be some items which don’t work on Phone…
Hopefully in a future update to the Callisto NuGet package it will include a dll for Phone 8.1 apps too to avoid these extra steps…