C# WPF IsEnabled using multiple bindings?

You can use a MultiBinding with a converter which implements IMultiValueConverter. Just to give an answer you can (almost) copy&paste: Static resource needed: <converterNamespace:BooleanAndConverter x:Key=”booleanAndConverter” /> The ComboBox: <ComboBox Name=”MyComboBox”> <ComboBox.IsEnabled> <MultiBinding Converter=”{StaticResource booleanAndConverter}”> <Binding ElementName=”SomeCheckBox” Path=”IsChecked” /> <Binding ElementName=”AnotherCheckbox” Path=”IsChecked” /> </MultiBinding> </ComboBox.IsEnabled> </ComboBox> The code for the converter: namespace ConverterNamespace { public class … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)