Validation.GetHasError(DependencyObject) 메서드

정의

지정된 요소의 HasError 연결된 속성의 값을 설정합니다.

public:
 static bool GetHasError(System::Windows::DependencyObject ^ element);
public static bool GetHasError (System.Windows.DependencyObject element);
static member GetHasError : System.Windows.DependencyObject -> bool
Public Shared Function GetHasError (element As DependencyObject) As Boolean

매개 변수

element
DependencyObject

값을 읽을 UIElement 또는 ContentElement 개체입니다.

반환

Boolean

지정된 요소의 HasError 연결된 속성 값입니다.

예외

elementnull인 경우입니다.

적용 대상