Keyboard.RemoveGotKeyboardFocusHandler Metoda

Definicja

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

public:
 static void RemoveGotKeyboardFocusHandler(System::Windows::DependencyObject ^ element, System::Windows::Input::KeyboardFocusChangedEventHandler ^ handler);
public static void RemoveGotKeyboardFocusHandler (System.Windows.DependencyObject element, System.Windows.Input.KeyboardFocusChangedEventHandler handler);
static member RemoveGotKeyboardFocusHandler : System.Windows.DependencyObject * System.Windows.Input.KeyboardFocusChangedEventHandler -> unit
Public Shared Sub RemoveGotKeyboardFocusHandler (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 na potrzeby dostępu kodu do dołączonego Keyboard.GotKeyboardFocus zdarzenia.

Dotyczy