timheuer / callisto

A control toolkit for Windows 8 XAML applications. Contains some UI controls to make it easier to create Windows UI style apps for the Windows Store in accordance with Windows UI guidelines.
http://timheuer.com/blog/archive/2012/05/31/introducing-callisto-a-xaml-toolkit-for-metro-apps.aspx
Other
338 stars 108 forks source link

Rating control does not work if Value is set before ItemCount #241

Open ferasm opened 10 years ago

ferasm commented 10 years ago

This is one of the oddest issues I've encountered. After hitting an issue where the Rating control was not respecting my Value (it was always showing a full control - meaning if I had a Value of 2.5 and ItemCount of 5, it was showing all 5 stars full).

After not understanding why mine was working and comparing it line for line with the sample, I realized it came down to the ordering of which property was set on the tag first. Not sure why this is the case, but i was able to reproduce it in the sample app (just set Value before ItemCount).