BindingOperations.GetBinding(DependencyObject, DependencyProperty) 메서드

정의

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

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

매개 변수

target
DependencyObject

있는 dp 개체입니다.

dp
DependencyProperty

바인딩을 검색할 바인딩 대상 속성입니다.

반품

Binding 지정된 속성에 설정된 개체이거나 null 설정된 개체가 없는 Binding 경우입니다.

예외

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

적용 대상

추가 정보