BindingOperations.GetBindingExpressionBase(DependencyObject, DependencyProperty) 메서드

정의

지정된 속성에 설정된 BindingExpressionBase 개체를 검색합니다.Retrieves the BindingExpressionBase object that is set on the specified property.

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가 있는 개체입니다.The object where dp is.

dp
DependencyProperty

BindingExpressionBase 개체를 검색할 바인딩 대상 속성입니다.The binding target property from which to retrieve the BindingExpressionBase object.

반환

BindingExpressionBase

지정된 속성에 설정된 BindingExpressionBase 개체입니다. 바인딩 개체가 설정되지 않은 경우 null입니다.The BindingExpressionBase object that is set on the given property or null if no binding object has been set.

예외

targetdp 매개 변수가 null인 경우The target and dp parameters cannot be null.

설명

BindingExpressionBase클래스는 BindingExpression , PriorityBindingExpression 및 클래스의 공통 기본 클래스입니다 MultiBindingExpression .The BindingExpressionBase class is the common base class for the BindingExpression, PriorityBindingExpression, and MultiBindingExpression classes. GetBindingExpression GetPriorityBindingExpression GetMultiBindingExpression 속성에 설정 된 고급 바인딩 형식을 알고 있는 경우, 및 메서드를 사용할 수 있습니다.You can use the GetBindingExpression, GetPriorityBindingExpression, and GetMultiBindingExpression methods if you know in advance type of binding that is set on the property.

적용 대상

추가 정보