There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
ToggleSwitch loses sync with bound property
I am using the Toggleswitch control to toggle an auto-refresh on off for some data retrieval on a WPF form I've developed.
The toggleswitch is bound to a property on my ViewModel that is toggled in a few places, especially in asynchronous processes via the UI dispatcher.
In some instances and quite frequently I have found that the ToggleSwitch loses sync with its bound property (normal property that raises iNotifyPropertyChanged.RaisePropertyChanged() ).
When this happens I can click on the ToggleSwitch and it stays in either the on or off state yet I see the property has been updated accordingly.