Validation.RemoveErrorHandler(DependencyObject, EventHandler<ValidationErrorEventArgs>) Validation.RemoveErrorHandler(DependencyObject, EventHandler<ValidationErrorEventArgs>) Validation.RemoveErrorHandler(DependencyObject, EventHandler<ValidationErrorEventArgs>) Validation.RemoveErrorHandler(DependencyObject, EventHandler<ValidationErrorEventArgs>) Method

Definición

Agrega un controlador de eventos para el evento adjunto Error al objeto especificado.Adds an event handler for the Error attached event from the specified object.

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))

Parámetros

element
DependencyObject DependencyObject DependencyObject DependencyObject

Objeto UIElement o ContentElement del que se va a quitar handler.The UIElement or ContentElement object to remove handler from.

handler
EventHandler<ValidationErrorEventArgs>

Controlador que se va a quitar.The handler to remove.

Se aplica a