WPF Binding issues
- by Nitin Chaudhari
I have WPF window which binds a local Dependency property to a property of my usercontrol.
So now I see the value which the window gave me in my usercontrol.
I achieve this by setting DataContext of window to the window itself
Now once the window is loaded i set the DataContext of usercontrol to a ViewModel class, and at some point of time(based on user action) the control changes values in the control. All fine so far.
But now the changed value is not reflected in Windows dependency property. How I can resolve this issue?