1

Closed

DependencyProperty.UnsetValue instead of null

description

Some converters are returning null instead of DependencyProperty.UnsetValue. Review and fix.
Closed Apr 11, 2013 at 6:41 PM by kentcb
I was wrong. The only places I return null are in IMultiValueConverter.ConvertBack, which is the right thing to do according to (the documentation)[http://msdn.microsoft.com/en-us/library/system.windows.data.imultivalueconverter.convertback.aspx]:
Return null to indicate that the converter cannot perform the conversion or that it does not support conversion in this direction.

comments