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
Available since 3.0
Return to top