Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TextCompositionManager.RemovePreviewTextInputHandler Method (DependencyObject, TextCompositionEventHandler)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes a handler for the PreviewTextInput   attached event.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public static void RemovePreviewTextInputHandler(
	DependencyObject element,
	TextCompositionEventHandler handler
)

Parameters

element
Type: System.Windows.DependencyObject

A dependency object to remove the event handler from. The dependency object must be a UIElement or a ContentElement.

handler
Type: System.Windows.Input.TextCompositionEventHandler

A delegate that designates the handler to remove.

This method removes a handler for the tunneling version of this event. For information about the bubbling version of this event, see TextInput.

.NET Framework
Available since 3.0
Return to top
Show:
© 2018 Microsoft