.net - Having an issue with CoverterParameter Binding in silverlight -


I'm having a problem with the xaml parser who do not like my binding statement but I do not have anything wrong with the statement Can see

Invalid property value {binding vehicle speed, converter • parameter = {binding in-miles}, converter = {static resource speedcounter}, mode = two} DataMemberBinding for property

< / Blockquote>

Vehicle Speed ​​and Inmilium Xaml document's parameters are class parameters in the DataContext property of the xaml top level grid.

This statement, used to work without converter pirometre, is now complaining after adding another binding, "Boole in Mileage" I am trying to go through Value Controller.

If anyone can see anything wrong in this line, please tell me.

You can not force the converter parameter, because it does not have the dependency property of the binding object.

Instead, you can pass the entire data item in the converter and use your vehicle speed and InMiles properties in the Convert () method. Are there.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -