TextCompositionManager.AddPreviewTextInputUpdateHandler Method (DependencyObject, TextCompositionEventHandler)


Adds a handler for the PreviewTextInputUpdate   attached event.

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

public static void AddPreviewTextInputUpdateHandler(
	DependencyObject element,
	TextCompositionEventHandler handler


Type: System.Windows.DependencyObject

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

Type: System.Windows.Input.TextCompositionEventHandler

A delegate that designates the handler to add.

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

.NET Framework
Available since 3.0
Return to top