BindingOperations.GetBindingBase(DependencyObject, DependencyProperty) 메서드

정의

지정된 속성에 설정된 BindingBase 개체를 검색합니다.

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

매개 변수

target
DependencyObject

dp가 있는 개체입니다.

dp
DependencyProperty

BindingBase 개체를 검색할 바인딩 대상 속성입니다.

반환

BindingBase

지정된 속성에 설정된 BindingBase 개체입니다. 바인딩 개체가 설정되지 않은 경우 null입니다.

예외

targetdp 매개 변수는 null일 수 없습니다.

설명

클래스는 BindingBase , PriorityBindingMultiBinding 클래스에 Binding대한 공통 기본 클래스입니다. 속성에 GetBinding설정된 바인딩 유형을 미리 알고 있는 경우 , GetPriorityBindingGetMultiBinding 메서드를 사용할 수 있습니다.

적용 대상

추가 정보