BindingOperations::GetPriorityBindingExpression Method (DependencyObject^, DependencyProperty^)

 

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

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

public:
static PriorityBindingExpression^ GetPriorityBindingExpression(
	DependencyObject^ target,
	DependencyProperty^ dp
)

Parameters

target
Type: System.Windows::DependencyObject^

The binding target object where dp is.

dp
Type: System.Windows::DependencyProperty^

The binding target property from which to retrieve the PriorityBindingExpression object.

Return Value

Type: System.Windows.Data::PriorityBindingExpression^

The PriorityBindingExpression object associated with the given property or null if none exists.

Exception Condition
ArgumentNullException

The target and dp parameters cannot be null.

.NET Framework
Available since 3.0
Return to top
Show: