Databinding Conversions Using Functions in UWP XAML Apps

added by DotNetKicks
8/8/2016 6:29:21 AM

2 Kicks, 552 Views

When using compiled data bindings using the x:Bind syntax in UWP apps, as an alternative to using an IValueConverter, a function can instead be defined. This means that whenever a value needs converting from the source object to the XAML property, the function will be called rather than an IValueConverter.