WPF Binding issues
Posted
by Nitin Chaudhari
on Stack Overflow
See other posts from Stack Overflow
or by Nitin Chaudhari
Published on 2010-06-15T06:47:44Z
Indexed on
2010/06/15
6:52 UTC
Read the original article
Hit count: 507
wpf
|wpf-binding
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?
© Stack Overflow or respective owner