Hello. I have a class that exposes many dependency properties which are being bound to a variety of UI elements. I have several instances of these objects at runtime, and under certain conditions one instance will replace another as the data context for
the bound UI controls parent via "ParentControl.DataContext = SomeObject;". My question is how do I know when all the controls within "ParentControl" have been updated by this switch in data context and all the dependency property changed
callbacks have completed as a result of the change? In other words how do I know when the dependency properties of "SomeObject" and the associated bound values are all current after the data context switch? Thank you in advance.
↧