TextCompositionManager.RemovePreviewTextInputHandler Méthode

Définition

Supprime un gestionnaire pour l'événement attaché PreviewTextInput.

public:
 static void RemovePreviewTextInputHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::TextCompositionEventHandler ^ handler);
public static void RemovePreviewTextInputHandler (System.Windows.DependencyObject element, System.Windows.Input.TextCompositionEventHandler handler);
static member RemovePreviewTextInputHandler : System.Windows.DependencyObject * System.Windows.Input.TextCompositionEventHandler -> unit
Public Shared Sub RemovePreviewTextInputHandler (element As DependencyObject, handler As TextCompositionEventHandler)

Paramètres

element
DependencyObject

Objet de dépendance à partir duquel supprimer le gestionnaire d’événements. L’objet de dépendance doit être un UIElement ou un ContentElement.

handler
TextCompositionEventHandler

Délégué qui désigne le gestionnaire à supprimer.

Remarques

Cette méthode supprime un gestionnaire pour la version de tunneling de cet événement. Pour plus d’informations sur la version bouillonnante de cet événement, consultez TextInput.

S’applique à

Voir aussi