Is it safe to assume that WPF TwoWay data binding Wont work on controls which dont have focus ?
For example in the following code.
<Window.Resources>
<XmlDataProvider x:Key="TestBind1" XPath="/BindTest1">
<x:XData>
<BindTest1 xmlns="">
<Value1>True</Value1>
</BindTest1>
</x:XData>
</XmlDataProvider>
</Window.Resources>
<StackPanel>
<GroupBox>
<StackPanel>
<RadioButton Content="Value1" IsChecked="{Binding Source={StaticResource TestBind1},Mode=TwoWay, XPath=Value1}"/>
<RadioButton Content="Value2"/>
</StackPanel>
</GroupBox>
<Button Content="Analyse" Click="OnAnalyseClicked"/>
</StackPanel>
When i click on the radiobutton Value2, the value of BindTest1/Value1 will remain true because radiobutton Value1 changed whilst it didnt have focus ?
Is this normal behaviour for WPF ? I am aware that i can avoid this by using various techniques, but i wanted to ask if this is normal or is my Xaml missing some parameter causing this problem.