PriorityBindingExpression.ActiveBindingExpression Property

Gets the active BindingExpression object.

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

public BindingExpressionBase ActiveBindingExpression { get; }

Property Value

Type: System.Windows.Data.BindingExpressionBase
The active BindingExpression object; or null, if no BindingExpression object is active. Although the return type is BindingExpressionBase, the returned object is only a BindingExpression object because the PriorityBinding class currently supports only Binding objects.

The binding engine determines which of the BindingExpression objects is the ActiveBindingExpression based on priority. For more information, see PriorityBinding.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft