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

适用于