Suspend binding in Silverlight -


I have a child window (okay, cancellation button) which has bind control. I want to update just after pressing the 'OK' button behind the object, what is the best way to do this?

You must set up the UpdateSourceTrigger property of the binding to make it clear. After that, when you click OK, you call UpdateSource () binding:

  Binding expansion expression = textbox1. Getboding expansion (text box. Expression.UpdateSource ();  

Or you do not force the child window into the original view modal, but do a temporary experiment and specify your original at OK


Comments