BindingOperations.IsDataBound(DependencyObject, DependencyProperty) 메서드

정의

지정된 속성이 현재 데이터 바인딩되어 있는지 여부를 나타내는 값을 반환합니다.

public:
 static bool IsDataBound(System::Windows::DependencyObject ^ target, System::Windows::DependencyProperty ^ dp);
public static bool IsDataBound (System.Windows.DependencyObject target, System.Windows.DependencyProperty dp);
static member IsDataBound : System.Windows.DependencyObject * System.Windows.DependencyProperty -> bool
Public Shared Function IsDataBound (target As DependencyObject, dp As DependencyProperty) As Boolean

매개 변수

target
DependencyObject

dp가 있는 개체입니다.

dp
DependencyProperty

확인할 종속성 속성입니다.

반환

Boolean

지정된 속성이 데이터 바인딩되어 있으면 true이고, 그렇지 않으면 false입니다.

예외

targetnull인 경우입니다.

적용 대상