BindingOperations.GetBindingExpressionBase メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したプロパティに設定されている 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があるオブジェクト。
BindingExpressionBase オブジェクトの取得元となるバインディング ターゲット プロパティ。
返品
指定したプロパティに設定されている BindingExpressionBase オブジェクト。バインド オブジェクトが設定されていない場合は null 。
例外
targetパラメーターと dp パラメーターを null にすることはできません。
注釈
BindingExpressionBase クラスは、BindingExpression、PriorityBindingExpression、および MultiBindingExpression クラスの共通基底クラスです。 プロパティに設定されているバインディングの種類がわかっている場合は、 GetBindingExpression、 GetPriorityBindingExpression、および GetMultiBindingExpression メソッドを使用できます。