This documentation is archived and is not being maintained.

BindingOperations.GetPriorityBindingExpression Method

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.

ExceptionCondition
ArgumentNullException

The target and dp parameters cannot be null.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: