DataObject.RemoveCopyingHandler 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 un gestionnaire d’événements Copying d’un objet de dépendance spécifié.
public:
static void RemoveCopyingHandler(System::Windows::DependencyObject ^ element, System::Windows::DataObjectCopyingEventHandler ^ handler);
public static void RemoveCopyingHandler(System.Windows.DependencyObject element, System.Windows.DataObjectCopyingEventHandler handler);
static member RemoveCopyingHandler : System.Windows.DependencyObject * System.Windows.DataObjectCopyingEventHandler -> unit
Public Shared Sub RemoveCopyingHandler (element As DependencyObject, handler As DataObjectCopyingEventHandler)
Paramètres
- element
- DependencyObject
Objet de dépendance (UIElement ou ContentElement) duquel le gestionnaire d’événements doit être supprimé.
- handler
- DataObjectCopyingEventHandler
Délégué qui fait référence à la méthode de gestionnaire à supprimer.