This question is locked. New answers and comments are not allowed.
During the Editor_Created event...
I check to see if the ItemPropertyDescription.PropertyType is typeof(bool). At that point e.Editor is a System.Windows.Controls.CheckBox. I set IsChecked = true, but when the filter descriptor is displayed, the checkbox is not checked. I have added a checkbox outside of the datafilter and set it's IsChecked = true and it displays correctly.
How do you make the checkbox in the DataFilter control have IsChecked = true by default?
I check to see if the ItemPropertyDescription.PropertyType is typeof(bool). At that point e.Editor is a System.Windows.Controls.CheckBox. I set IsChecked = true, but when the filter descriptor is displayed, the checkbox is not checked. I have added a checkbox outside of the datafilter and set it's IsChecked = true and it displays correctly.
How do you make the checkbox in the DataFilter control have IsChecked = true by default?