BindingOperations.GetMultiBindingExpression 方法

定义

返回 MultiBindingExpression 与指定对象上的指定绑定目标属性关联的对象。

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

参数

target
DependencyObject

绑定目标对象所在的位置 dp

dp
DependencyProperty

要从中检索对象的 MultiBindingExpression 绑定目标属性。

返回

MultiBindingExpression与给定属性关联的对象,或者null不存在。

例外

参数targetdp不能null为 .

注解

MultiBindingExpression与给定属性关联的对象,或者null不存在。

适用于

另请参阅