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

適用於

另請參閱