Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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


Type: System.Windows.DependencyObject

The binding target object where dp is.

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

The target and dp parameters cannot be null.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft