語言

Keyboard.RemovePreviewKeyboardInputProviderAcquireFocusHandler 方法

定義

移除所附事件的 PreviewKeyboardInputProviderAcquireFocus 操作者。

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

參數

element
DependencyObject

那個 UIElement 會監聽這個事件的或 ContentElement 。

handler
KeyboardInputProviderAcquireFocusEventHandler

事件處理程式將被移除。

備註

此方法提供附加屬性存取器,方便程式碼存取附加事件 Keyboard.PreviewKeyboardInputProviderAcquireFocus 。

適用於