Bagikan melalui


Keyboard.RemovePreviewKeyboardInputProviderAcquireFocusHandler Metode

Definisi

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

Parameter

element
DependencyObject

UIElement atau ContentElement yang mendengarkan peristiwa ini.

handler
KeyboardInputProviderAcquireFocusEventHandler

Penanganan aktivitas yang akan dihapus.

Keterangan

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

Berlaku untuk