Keyboard.RemoveLostKeyboardFocusHandler 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
移除 LostKeyboardFocus 附加事件的处理程序。
public:
static void RemoveLostKeyboardFocusHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::KeyboardFocusChangedEventHandler ^ handler);
public static void RemoveLostKeyboardFocusHandler (System.Windows.DependencyObject element, System.Windows.Input.KeyboardFocusChangedEventHandler handler);
static member RemoveLostKeyboardFocusHandler : System.Windows.DependencyObject * System.Windows.Input.KeyboardFocusChangedEventHandler -> unit
Public Shared Sub RemoveLostKeyboardFocusHandler (element As DependencyObject, handler As KeyboardFocusChangedEventHandler)
参数
- element
- DependencyObject
侦听此事件的 UIElement 或 ContentElement。
- handler
- KeyboardFocusChangedEventHandler
要删除的事件处理程序。
注解
此方法提供附加属性访问器,用于对附加事件进行代码访问 Keyboard.LostKeyboardFocus 。