Tag Archive ‘javascript’

 

David on Dec 5th, 2008Silverlight JavaScript Value Converter

Value converters allow you to modify the value of the source property of a binding before it is applied to the target. As shown in my previous WPF examples, you would normally write a new class implementing the IValueConverter interface which will do the conversion. For simple transforms such as performing basic arithmetic or formatting [...]