Bagikan melalui


Keyboard.RemoveLostKeyboardFocusHandler Metode

Definisi

Menghapus handler untuk kejadian terlampir 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)

Parameter

element
DependencyObject

UIElement atau ContentElement yang mendengarkan peristiwa ini.

handler
KeyboardFocusChangedEventHandler

Penanganan aktivitas yang akan dihapus.

Keterangan

Metode ini menyediakan pengaktor properti terlampir untuk akses kode ke peristiwa terlampir Keyboard.LostKeyboardFocus .

Berlaku untuk