Partilhar via


Validation.RemoveErrorHandler Método

Definição

Adiciona um manipulador de eventos do evento anexado Error do objeto especificado.

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

O objeto UIElement ou ContentElement do qual remover handler.

handler
EventHandler<ValidationErrorEventArgs>

O manipulador a ser removido.

Aplica-se a