I have a control that I want to enable/disable based on a checkbox. I ended up using a binding with ElementName and Path:
<CheckBox x:Name="Enabler" /><ComboBox IsEnabled="{Binding ElementName=Enabler,Path=IsChecked}" />
No comments:
Post a Comment