CanExecuteChangedEventManager.RemoveHandler Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Supprime le gestionnaire d'événements spécifié de la source spécifiée.
public:
static void RemoveHandler(System::Windows::Input::ICommand ^ source, EventHandler<EventArgs ^> ^ handler);
public static void RemoveHandler(System.Windows.Input.ICommand source, EventHandler<EventArgs> handler);
static member RemoveHandler : System.Windows.Input.ICommand * EventHandler<EventArgs> -> unit
Public Shared Sub RemoveHandler (source As ICommand, handler As EventHandler(Of EventArgs))
Paramètres
- source
- ICommand
Objet source qui déclenche l'événement CanExecuteChanged.
- handler
- EventHandler<EventArgs>
Délégué qui gère l'événement CanExecuteChanged.