Keyboard.RemoveLostKeyboardFocusHandler Metoda

Definicja

Usuwa procedurę obsługi dołączonego LostKeyboardFocus zdarzenia.

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)

Parametry

element
DependencyObject

Element UIElement lub ContentElement , który nasłuchuje tego zdarzenia.

handler
KeyboardFocusChangedEventHandler

Program obsługi zdarzeń, który ma zostać usunięty.

Uwagi

Ta metoda zapewnia dołączone metody dostępu do właściwości w celu uzyskania dostępu kodu do dołączonego Keyboard.LostKeyboardFocus zdarzenia.

Dotyczy