You will have to use convertor to achieve this.
public class BooleanNegationConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return ConvertValue(value);
}
private bool ConvertValue(object value)
{
bool boolValue;
if(!Boolean.TryParse(value.ToString(), out boolValue))
{
throw new ArgumentException("Value that was being converted was not a Boolean", "value");
}
return !boolValue;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
return ConvertValue(value);
}
}
Then use it like this:
<ComboBox IsEnabled="{Binding Path=CheckBoxIsChecked,
Mode=OneWay,
Converter={StaticResource BooleanNegationConverterKey}}"/>
Remember you have to declare this static resource in xaml resources. Like this:
<UserControl.Resources>
<ResourceDictionary>
<BooleanNegationConverter x:Key="BooleanNegationConverterKey" />
</ResourceDictionary>
</UserControl.Resources>