GetMultiBindingExpression Method

BindingOperations.GetMultiBindingExpression Method (DependencyObject, DependencyProperty)

 

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

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

public static MultiBindingExpression GetMultiBindingExpression(
	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 MultiBindingExpression object.

Return Value

Type: System.Windows.Data.MultiBindingExpression

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

Exception Condition
ArgumentNullException

The target and dp parameters cannot be null.

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

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