1

Closed

Star.xaml binding to invalid properties?

description

This might just be a problem with how I'm using the star rating control :)

The SilverlightGlimpse project (also on codeplex) showed 2 binding errors on each star being displayed in my app:
  • Path with x:Name="HalfFill" has failed binding of Fill to Binding Parent.HalfFillBrush, ElementName=LayoutRoot
    • I think this is because the parent StarRatingControl is lacking a HalfFillBrush dependency property for it to bind to?
  • Path with x:Name="Outline" has failed binding of Stroke to Binding Parent.Foreground, ElementName=LayoutRoot
    • similar to previous, I think this is because StarRatingControl lacks a Foreground property
I'm not very familiar with creating custom controls, so my apologies if this is actually a problem on my end and the control is fine as-is. :)

Thanks!
Closed Mar 26, 2013 at 4:24 PM by markheath
not a bug

comments

jmanning wrote Mar 26, 2013 at 3:58 PM

Nevermind, the bindings are fine - the SilverlightGlimpse project considers it a broken binding if the value is null, but that's not true. :)

Please close this bug - I don't seem to be able to do so myself AFAICT. :(

markheath wrote Mar 26, 2013 at 4:24 PM

great, glad you worked this out