BindingOperations Class
Provides static methods to manipulate bindings, including Binding, MultiBinding, and PriorityBinding objects.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | DisconnectedSource | Gets an object that replaces the DataContext when an item container is removed from the visual tree. |
| Name | Description | |
|---|---|---|
![]() ![]() | AccessCollection(IEnumerable^, Action^, Boolean) | Provides access to a collection by using the synchronization mechanism that the application specified when it called EnableCollectionSynchronization. |
![]() ![]() | ClearAllBindings(DependencyObject^) | Removes all bindings, including bindings of type Binding, MultiBinding, and PriorityBinding, from the specified DependencyObject. |
![]() ![]() | ClearBinding(DependencyObject^, DependencyProperty^) | Removes the binding from a property if there is one. |
![]() ![]() | DisableCollectionSynchronization(IEnumerable^) | Remove the synchronization registered for the specified collection. |
![]() ![]() | EnableCollectionSynchronization(IEnumerable^, Object^) | Enables a collection to be accessed across multiple threads and specifies the lock object that should be used to synchronize access to the collection. |
![]() ![]() | EnableCollectionSynchronization(IEnumerable^, Object^, CollectionSynchronizationCallback^) | Enables a collection to be accessed across multiple threads and specifies the callback that should be used to synchronize access to the collection. |
![]() ![]() | GetBinding(DependencyObject^, DependencyProperty^) | Retrieves the Binding object that is set on the specified property. |
![]() ![]() | GetBindingBase(DependencyObject^, DependencyProperty^) | Retrieves the BindingBase object that is set on the specified property. |
![]() ![]() | GetBindingExpression(DependencyObject^, DependencyProperty^) | Returns the BindingExpression object associated with the specified binding target property on the specified object. |
![]() ![]() | GetBindingExpressionBase(DependencyObject^, DependencyProperty^) | Retrieves the BindingExpressionBase object that is set on the specified property. |
![]() ![]() | GetMultiBinding(DependencyObject^, DependencyProperty^) | Retrieves the MultiBinding object that is set on the specified property. |
![]() ![]() | GetMultiBindingExpression(DependencyObject^, DependencyProperty^) | Returns the MultiBindingExpression object associated with the specified binding target property on the specified object. |
![]() ![]() | GetPriorityBinding(DependencyObject^, DependencyProperty^) | Retrieves the PriorityBinding object that is set on the specified property. |
![]() ![]() | GetPriorityBindingExpression(DependencyObject^, DependencyProperty^) | Returns the PriorityBindingExpression object associated with the specified binding target property on the specified object. |
![]() ![]() | GetSourceUpdatingBindingGroups(DependencyObject^) | Gets all BindingGroup objects that have invalid values or target values have not been updated the source. |
![]() ![]() | GetSourceUpdatingBindings(DependencyObject^) | Gets all BindingExpressionBase objects that have invalid values or target values have not been updated the source. |
![]() ![]() | IsDataBound(DependencyObject^, DependencyProperty^) | Returns a value that indicates whether the specified property is currently data-bound. |
![]() ![]() | SetBinding(DependencyObject^, DependencyProperty^, BindingBase^) | Creates and associates a new instance of BindingExpressionBase with the specified binding target property. |
| Name | Description | |
|---|---|---|
![]() ![]() | CollectionRegistering | Occurs when the data-binding system notices a collection. |
![]() ![]() | CollectionViewRegistering | 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.
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.



