TextCompositionManager.RemoveTextInputStartHandler(DependencyObject, TextCompositionEventHandler) 方法

定义

移除 TextInputStart 附加事件的处理程序。Removes a handler for the TextInputStart attached event.

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

参数

element
DependencyObject

要移除事件处理程序的相关性对象。A dependency object to remove the event handler from. 依赖对象必须为 UIElementContentElementThe dependency object must be a UIElement or a ContentElement.

handler
TextCompositionEventHandler

指定要移除的处理程序的委托。A delegate that designates the handler to remove.

注解

此方法将为此事件的冒泡版本删除处理程序。This method removes a handler for the bubbling version of this event. 有关此事件的隧道版本的信息, 请参阅PreviewTextInputStartFor information about the tunneling version of this event, see PreviewTextInputStart.

适用于

另请参阅