Please make Rating.ItemCount a DependencyProperty?

Editors for WPF Forum

Posted 8 years ago by Cheetah
Version: 11.1.0542
Avatar
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.

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Cheetah,

Thanks for the suggestion. We've updated the ItemCount property to be a dependency property for the next maintenance release.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 11 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.