Validation.RemoveErrorHandler 메서드

정의

지정된 개체에서 Error 연결된 이벤트에 대한 이벤트 처리기를 추가합니다.

public:
 static void RemoveErrorHandler(System::Windows::DependencyObject ^ element, EventHandler<System::Windows::Controls::ValidationErrorEventArgs ^> ^ handler);
public static void RemoveErrorHandler (System.Windows.DependencyObject element, EventHandler<System.Windows.Controls.ValidationErrorEventArgs> handler);
static member RemoveErrorHandler : System.Windows.DependencyObject * EventHandler<System.Windows.Controls.ValidationErrorEventArgs> -> unit
Public Shared Sub RemoveErrorHandler (element As DependencyObject, handler As EventHandler(Of ValidationErrorEventArgs))

매개 변수

element
DependencyObject

handler를 제거할 UIElement 또는 ContentElement 개체입니다.

handler
EventHandler<ValidationErrorEventArgs>

제거할 처리기입니다.

적용 대상