แก้ไข

แชร์ผ่าน


TextCompositionManager.RemovePreviewTextInputUpdateHandler Method

Definition

Removes a handler for the PreviewTextInputUpdate attached event.

public:
 static void RemovePreviewTextInputUpdateHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::TextCompositionEventHandler ^ handler);
public static void RemovePreviewTextInputUpdateHandler (System.Windows.DependencyObject element, System.Windows.Input.TextCompositionEventHandler handler);
static member RemovePreviewTextInputUpdateHandler : System.Windows.DependencyObject * System.Windows.Input.TextCompositionEventHandler -> unit
Public Shared Sub RemovePreviewTextInputUpdateHandler (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 tunneling version of this event. For information about the bubbling version of this event, see TextInputUpdate.

Applies to

See also