TextCompositionManager.RemovePreviewTextInputStartHandler 方法

定义

删除附加事件的处理程序 TextInputStart

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

参数

element
DependencyObject

要从中删除事件处理程序的依赖项对象。 依赖项对象必须是一个 UIElement 或一个 ContentElement

handler
TextCompositionEventHandler

指定要删除的处理程序的委托。

注解

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

适用于

另请参阅