Method GetSourceUpdatingBindings
GetSourceUpdatingBindings(DependencyObject)
Returns a list of all binding expressions that are: a) top-level (do not belong to a parent MultiBindingExpression or BindingGroup) b) source-updating (binding mode is TwoWay or OneWayToSource) c) currently dirty or invalid and d) attached to a descendant of the given DependencyObject (if non-null). These are the bindings that may need attention before executing a command.
public static ReadOnlyCollection<BindingExpressionBase> GetSourceUpdatingBindings(DependencyObject root)
Parameters
root
DependencyObject