TextCompositionManager.RemovePreviewTextInputUpdateHandler 方法

定义

移除 PreviewTextInputUpdate 附加事件的处理程序。

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)

参数

element
DependencyObject

要从中删除事件处理程序的依赖对象。 依赖对象必须为 UIElementContentElement

handler
TextCompositionEventHandler

一个委托,用于指定要删除的处理程序。

注解

此方法删除此事件的隧道版本的处理程序。 有关此事件的浮升版本的信息,请参阅 TextInputUpdate

适用于

另请参阅