BindingOperations Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides static methods to manipulate bindings, including Binding, MultiBinding, and PriorityBinding objects.

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

System.Object
  System.Windows.Data.BindingOperations

[<AbstractClass>]
[<Sealed>]
type BindingOperations = class end

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticDisconnectedSource

Gets an object that replaces the DataContext when an item container is removed from the visual tree.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAccessCollection(IEnumerable, Action, Boolean)

Provides access to a collection by using the synchronization mechanism that the application specified when it called EnableCollectionSynchronization.

System_CAPS_pubmethodSystem_CAPS_staticClearAllBindings(DependencyObject)

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

System_CAPS_pubmethodSystem_CAPS_staticClearBinding(DependencyObject, DependencyProperty)

Removes the binding from a property if there is one.

System_CAPS_pubmethodSystem_CAPS_staticDisableCollectionSynchronization(IEnumerable)

Remove the synchronization registered for the specified collection.

System_CAPS_pubmethodSystem_CAPS_staticEnableCollectionSynchronization(IEnumerable, Object)

Enables a CollectionViewobject to participate in synchronized access to a collection used on multiple threads by a simple locking mechanism.

System_CAPS_pubmethodSystem_CAPS_staticEnableCollectionSynchronization(IEnumerable, Object, CollectionSynchronizationCallback)

Enables a CollectionView object to participate in synchronized access to a collection used on multiple threads by using a mechanism other than a simple lock.

System_CAPS_pubmethodSystem_CAPS_staticGetBinding(DependencyObject, DependencyProperty)

Retrieves the Binding object that is set on the specified property.

System_CAPS_pubmethodSystem_CAPS_staticGetBindingBase(DependencyObject, DependencyProperty)

Retrieves the BindingBase object that is set on the specified property.

System_CAPS_pubmethodSystem_CAPS_staticGetBindingExpression(DependencyObject, DependencyProperty)

Returns the BindingExpression object associated with the specified binding target property on the specified object.

System_CAPS_pubmethodSystem_CAPS_staticGetBindingExpressionBase(DependencyObject, DependencyProperty)

Retrieves the BindingExpressionBase object that is set on the specified property.

System_CAPS_pubmethodSystem_CAPS_staticGetMultiBinding(DependencyObject, DependencyProperty)

Retrieves the MultiBinding object that is set on the specified property.

System_CAPS_pubmethodSystem_CAPS_staticGetMultiBindingExpression(DependencyObject, DependencyProperty)

Returns the MultiBindingExpression object associated with the specified binding target property on the specified object.

System_CAPS_pubmethodSystem_CAPS_staticGetPriorityBinding(DependencyObject, DependencyProperty)

Retrieves the PriorityBinding object that is set on the specified property.

System_CAPS_pubmethodSystem_CAPS_staticGetPriorityBindingExpression(DependencyObject, DependencyProperty)

Returns the PriorityBindingExpression object associated with the specified binding target property on the specified object.

System_CAPS_pubmethodSystem_CAPS_staticGetSourceUpdatingBindingGroups(DependencyObject)

Gets all BindingGroup objects that have invalid values or target values have not been updated the source.

System_CAPS_pubmethodSystem_CAPS_staticGetSourceUpdatingBindings(DependencyObject)

Gets all BindingExpressionBase objects that have invalid values or target values have not been updated the source.

System_CAPS_pubmethodSystem_CAPS_staticIsDataBound(DependencyObject, DependencyProperty)

Returns a value that indicates whether the specified property is currently data-bound.

System_CAPS_pubmethodSystem_CAPS_staticSetBinding(DependencyObject, DependencyProperty, BindingBase)

Creates and associates a new instance of BindingExpressionBase with the specified binding target property.

NameDescription
System_CAPS_pubeventSystem_CAPS_staticCollectionRegistering

Occurs when the data-binding system notices a collection.

System_CAPS_pubeventSystem_CAPS_staticCollectionViewRegistering

Occurs when the data-binding system notices a collection view.

This class exposes a set of static methods that serve as helper operations for data bindings.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: