Keyboard.RemovePreviewKeyboardInputProviderAcquireFocusHandler 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除附加事件的处理程序 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
要删除的事件处理程序。
注解
此方法为对附加事件进行代码访问 Keyboard.PreviewKeyboardInputProviderAcquireFocus 提供附加属性访问器。