none
Clear Binding RRS feed

  • Question

  • hi.. Group,

     

    When I use BindingOperations.ClearBinding(...), binding is cleared but the value is reset back to original value (the value before binding). I want the binding element keep current value. Is there a way to do that? Or I am doing something wrong in my code

     

    Thanks.

    Wednesday, May 30, 2007 5:26 PM

Answers

  • I think you need to save the value before you clear the binding and set the value back on the property  yourself
    Wednesday, May 30, 2007 5:30 PM
    Moderator

All replies

  • I think you need to save the value before you clear the binding and set the value back on the property  yourself
    Wednesday, May 30, 2007 5:30 PM
    Moderator
  • That's really unfortunate since setting that value repeatedly will cause any bound UI to attempt to refresh the value unnecessarily.
    Monday, April 5, 2010 4:36 AM