TextCompositionManager.RemovePreviewTextInputHandler Metoda

Definicja

Usuwa procedurę obsługi dołączonego PreviewTextInput zdarzenia.

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)

Parametry

element
DependencyObject

Obiekt zależności, z który ma usunąć procedurę obsługi zdarzeń. Obiekt zależności musi być obiektem UIElement lub .ContentElement

handler
TextCompositionEventHandler

Delegat, który wyznacza procedurę obsługi do usunięcia.

Uwagi

Ta metoda usuwa procedurę obsługi dla wersji tunelowania tego zdarzenia. Aby uzyskać informacje o wersji bubbling tego zdarzenia, zobacz TextInput.

Dotyczy

Zobacz też