WPF Databinding altering property doesn't reflect into the UIElementWPF Databinding altering property doesn't reflect into the UIElement
Old forum URL: forums.lhotka.net/forums/t/7963.aspx
rfcdejong posted on Monday, November 09, 2009
It's a know issue and solved in WPF 4.0, i've got it working as well.
The blog from lhotka:
http://www.lhotka.net/weblog/WPF40DataBindingFix.aspxBut the problem is that we have all our controls on UpdateSourceTrigger="PropertyChanged".
Did anyone tried this in WPF 4.0 if it'll work having it on PropertyChanged?
I can't get it to work in 3.5 without changing the UpdateSourceTrigger to OnLostFocus :(
RockfordLhotka replied on Monday, November 09, 2009
The official workaround for this problem, as specified by Microsoft, is to put a value converter on every binding. That's why the IdentityConverter exists in CSLA .NET - it is a converter you can use when you otherwise really wouldn't need one.rfcdejong replied on Monday, November 09, 2009
RockfordLhotka: The official workaround for this problem, as specified by Microsoft, is to put a value converter on every binding. That's why the IdentityConverter exists in CSLA .NET - it is a converter you can use when you otherwise really wouldn't need one.
I know, but that is only working with setting UpdateSourceTrigger to OnLostFocus and our applications are having the UpdateSourceTrigger set to PropertyChanged.
RockfordLhotka replied on Monday, November 09, 2009
I see, in that case I don't know of an answer.Copyright (c) Marimer LLC