Export (0) Print
Expand All

BindingOperations.ClearAllBindings Method

Removes all bindings, including bindings of type Binding, MultiBinding, and PriorityBinding, from the specified DependencyObject.

Namespace:  System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static void ClearAllBindings(
	DependencyObject target
)

Parameters

target
Type: System.Windows.DependencyObject

The object from which to remove bindings.

ExceptionCondition
ArgumentNullException

If target is null.

If the specified object is not data-bound, this method has no effect.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft