TextCompositionManager.AddTextInputUpdateHandler Method

Definition

Adds a handler for the TextInputUpdate attached event.

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

Parameters

element
DependencyObject

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

handler
TextCompositionEventHandler

A delegate that designates the handler to add.

Remarks

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

Applies to

See also