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

與指定屬性相關聯的 MultiBindingExpression 物件;如果不存在,則為 null

例外狀況

targetdp 參數不可以是 null

備註

與指定屬性相關聯的 MultiBindingExpression 物件;如果不存在,則為 null

適用於

另請參閱