TextCompositionManager.RemovePreviewTextInputUpdateHandler 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除附加事件的处理程序 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
要从中删除事件处理程序的依赖项对象。 依赖项对象必须是一个 UIElement 或一个 ContentElement。
- handler
- TextCompositionEventHandler
指定要删除的处理程序的委托。
注解
此方法删除此事件的隧道版本的处理程序。 有关此事件的浮泡版本的信息,请参阅 TextInputUpdate。