BindingOperations.GetPriorityBindingExpression Method

Definition

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

public:
 static System::Windows::Data::PriorityBindingExpression ^ GetPriorityBindingExpression(System::Windows::DependencyObject ^ target, System::Windows::DependencyProperty ^ dp);
public static System.Windows.Data.PriorityBindingExpression GetPriorityBindingExpression (System.Windows.DependencyObject target, System.Windows.DependencyProperty dp);
static member GetPriorityBindingExpression : System.Windows.DependencyObject * System.Windows.DependencyProperty -> System.Windows.Data.PriorityBindingExpression
Public Shared Function GetPriorityBindingExpression (target As DependencyObject, dp As DependencyProperty) As PriorityBindingExpression

Parameters

target
DependencyObject

The binding target object where dp is.

dp
DependencyProperty

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

Returns

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

Exceptions

The target and dp parameters cannot be null.

Applies to

See also