The bindings are refreshed into the whole tree when data context is changed.
But in my case I have some bindings on the template of my extended TextBox.
Here the DataContext is changed with some delay after the control where is used triggers the DataContext event, so the bindings are refreshed before the DataContext from my extended TextBox template is really changed, so the binding is still pointing to the old DataCon...
User Profile
Collapse
-
-
Binding after data context is changed
Hi,
I have a strange problem.
I have a WPF screen on which I have an extended TextBox that makes some conversions in some cases.That property is bound to a property on view model.
When the data context is changed then the conversions are reevaluated. When reevaluated my extended TextBox has the new data context but theBindingOperatio ns.GetBindingEx pression(textBo x, dpproperty).Dat aItem
is still having the...Last edited by Frinavale; May 30 '13, 01:46 PM. Reason: Fixed spelling and grammar. Formatted the post.
No activity results to display
Show More
Leave a comment: