共用方式為


Keyboard.RemoveKeyboardInputProviderAcquireFocusHandler 方法

定義

移除 KeyboardInputProviderAcquireFocus 附加事件的處理常式。

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

參數

element
DependencyObject

接聽這個事件的 UIElementContentElement

handler
KeyboardInputProviderAcquireFocusEventHandler

要移除的事件處理常式。

備註

這個方法會提供附加屬性存取 Keyboard.KeyboardInputProviderAcquireFocus 子,以便存取附加事件的程序代碼。

適用於