BindingOperations.GetBindingExpressionBase メソッド

定義

指定したプロパティに設定されている BindingExpressionBase オブジェクトを取得します。

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

パラメーター

target
DependencyObject

dpがあるオブジェクト。

dp
DependencyProperty

BindingExpressionBase オブジェクトの取得元となるバインディング ターゲット プロパティ。

返品

指定したプロパティに設定されている BindingExpressionBase オブジェクト。バインド オブジェクトが設定されていない場合は null

例外

targetパラメーターと dp パラメーターを null にすることはできません。

注釈

BindingExpressionBase クラスは、BindingExpressionPriorityBindingExpression、および MultiBindingExpression クラスの共通基底クラスです。 プロパティに設定されているバインディングの種類がわかっている場合は、 GetBindingExpressionGetPriorityBindingExpression、および GetMultiBindingExpression メソッドを使用できます。

適用対象

こちらもご覧ください