TextCompositionManager.RemoveTextInputHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a handler for the TextInput attached event.
public:
static void RemoveTextInputHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::TextCompositionEventHandler ^ handler);
public static void RemoveTextInputHandler (System.Windows.DependencyObject element, System.Windows.Input.TextCompositionEventHandler handler);
static member RemoveTextInputHandler : System.Windows.DependencyObject * System.Windows.Input.TextCompositionEventHandler -> unit
Public Shared Sub RemoveTextInputHandler (element As DependencyObject, handler As TextCompositionEventHandler)
Parameters
- element
- DependencyObject
A dependency object to remove the event handler from. The dependency object must be a UIElement or a ContentElement.
- handler
- TextCompositionEventHandler
A delegate that designates the handler to remove.
Remarks
This method removes a handler for the bubbling version of this event. For information about the tunneling version of this event, see PreviewTextInput.