Today I ran into a problem that reminded me that snaps are automatically disabled in some cases. I'm not sure, but here is the script -
I am attaching a menu item tied to a property (implementing INotifyPropertyChanged), for example:
IsChecked="{Binding Path=DisplayLongUnit, Mode=TwoWay}"
Now in the processed event handler, I update its value IsCheckedafter checking some state like this -
If( condition == true){menuItem.IsChecked = true}
Will the binding now be bound or will it be lost? (I remember reading somewhere that he would be lost).
Are there any scenarios in which the bindings will be automatically disconnected?
How I found out is mentioned here -
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/08d6e4c4-47ab-44f3-b19a-c0ab872fb1a8