Welcome to Manicprogrammer Sign in | Join | Help

Rediscovering the Obvious

An occasional journey through one man's perspectives as he fumbles along in the footsteps of many great men.
Force a WPF DataBinding to Update

From: http://blogs.msdn.com/jaimer/archive/2007/07/04/forcing-a-wpf-binding-to-refresh.aspx

Now I'll find it again, since it took me five minutes to find that link even after using it once.

BindingOperations.GetBindingExpressionBase(_dependencyObjectWithBinding, TextBlock.SomeDependencyProperty).UpdateTarget();

 

Published Friday, August 03, 2007 12:35 PM by willeke

Filed under: ,

Comments

No Comments

Anonymous comments are disabled