Return null in boolean to checkbox state converter in XAML
问题 I have a TaskStatus to Boolean converter that implements the IValueConverter interface in XAML for Windows Store Apps (universal apps). I have three task states and I enabled the indeterminate state in a checkbox using IsThreeState="true". Now although the IsChecked property seems to be a Boolean?, the converter always gets System.Boolean as target type. Whatever I return (null for example) always converts to false and therefore I can't get the third state in my checkbox. Is there a way to