I'm stuck with a seemingly simple thing in WPF. And searching didn't help so far.
<Viewbox IsEnabled="{Binding IsEnabled, ElementName = Button_A}">
<Button x:Name="Button_B" Click="Button_B_Click" ></Button>
</Viewbox>
Now the above XAML let's the Button_B to be enabled when the Button_A is enabled and the Button_B to be disabled when the Button_A is disabled.
But I want the Button_B to be disabled when the Button_A is enabled; and Button_B to be enabled when the Button_A is disabled as one way binding(A dictates B).
How can this be achieved using only XAML?