locked
Why is my valueconverter giving an error in blend designer?

    Question

  •  
    Text="{Binding Mode=TwoWay, Path=Charges, Converter={StaticResource DollarSignConverter}}"
     

    project runs fine

     

    error message is invalid xaml

     error message goes away if I remove the valueconverter

     

    Text is part of a textbox control.  It is in a datatemplate that is a static resource of the usercontrol.  As is the valueconverter.

     

    Wednesday, June 24, 2009 1:53 PM

Answers

  •  At this point I am just going to assume that this is yet another expression designer bug.  I was able to work around it by putting the valueconverter at the end of my resource dicationary.  Expression still gives an error saying that it can't find the valueconverter resource, but it no longer crashes the entire page.

    Thursday, June 25, 2009 11:29 AM