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 the
Maybe the conversion that I make is too early after changing the data context?
Usually the data context is not changed into the whole screen so the bindings to be reevaluated?
Thanks!
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 the
BindingOperatio ns.GetBindingEx pression(textBo x, dpproperty).Dat aItem
is still having the old data context.Maybe the conversion that I make is too early after changing the data context?
Usually the data context is not changed into the whole screen so the bindings to be reevaluated?
Thanks!
Comment