I have a combobox, and I want it to be enabled when checkbox is not checked. How do I write it? I tried following, but it seems that WPF doesn’t recognise this syntax:
<ComboBox IsEnabled={Binding Path=!CheckBoxIsChecked, Mode=OneWay}/>
<CheckBox IsChecked={Binding Path=CheckBoxIsChecked}/>
A trigger should work just as well for this: