
The new rating control looks nice, much nicer than the one in the "WpfToolkit" provided by Microsoft. There's one thing that makes it a non-starter for me, however:
The place I use the rating control is in a DataTemplate that is built from code using a FrameworkElementFactory, and I can't set the ItemCount from there because it's not a Dependency Property :(
Building a XAML template in code instead of using the FrameworkElementFactory would in principle be possible, but looks like it would require several times the amount of code, just because of all the filler needed to construct the xml nodes.
The place I use the rating control is in a DataTemplate that is built from code using a FrameworkElementFactory, and I can't set the ItemCount from there because it's not a Dependency Property :(
Building a XAML template in code instead of using the FrameworkElementFactory would in principle be possible, but looks like it would require several times the amount of code, just because of all the filler needed to construct the xml nodes.