I have a radioButton group and each Button is binded to an Enum property
<RadioButton Name="rbFixedDiscount" IsChecked="{Binding Path=DiscountType, Mode=TwoWay, Converter={StaticResource EnumConverter},ConverterParameter=Fixed, UpdateSourceTrigger=PropertyChanged}" >Fixed:</RadioButton>
<RadioButton Name="rbPercentDiscount" Grid.Row="1" IsChecked="{Binding Path=DiscountType, Mode=TwoWay, Converter={StaticResource EnumConverter},ConverterParameter=Percent, UpdateSourceTrigger=PropertyChanged}">Percent:</RadioButton>
<RadioButton Name="rbFreeNightsDiscount" Grid.Row="2" IsChecked="{Binding Path=DiscountType, Mode=TwoWay, Converter={StaticResource EnumConverter},ConverterParameter=FreeNights, UpdateSourceTrigger=PropertyChanged}">Free Nights:</RadioButton>
Whenever I click back and forth in the UI the property behind only gets updated when I click a new RB, If I click one of the buttons back ( so I make it Checked -> Unchecked -> Checked) the property behind the binding doesn't refresh, it's binding has been cleared I think it is because the ClearValue() gets called when unchecking and Item. Anyway I can keep the binding alive while clicking back and forth.