RibbonToggleButton.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) RibbonToggleButton.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) RibbonToggleButton.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) RibbonToggleButton.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) Method

Definición

Proporciona control de clases para el evento GotKeyboardFocus y habilita la representación visual del foco de teclado cuando este control obtiene dicho foco.Provides class handling for the GotKeyboardFocus event and enables the keyboard focus visual when this control gets keyboard focus.

protected:
 override void OnGotKeyboardFocus(System::Windows::Input::KeyboardFocusChangedEventArgs ^ e);
protected override void OnGotKeyboardFocus (System.Windows.Input.KeyboardFocusChangedEventArgs e);
override this.OnGotKeyboardFocus : System.Windows.Input.KeyboardFocusChangedEventArgs -> unit
Protected Overrides Sub OnGotKeyboardFocus (e As KeyboardFocusChangedEventArgs)

Parámetros

Comentarios

Este método invalida el comportamiento predeterminado y habilita el foco visual del foco de teclado cuando este control obtiene el foco de teclado.This method overrides the default behavior and enables the keyboard focus visual when this control gets keyboard focus.

Esta implementación no cambia el estado controlado (la RoutedEventArgs.Handled propiedad) de los GotKeyboardFocus datos del evento.This implementation does not change the handled state (the RoutedEventArgs.Handled property) of the GotKeyboardFocus event data.

Se aplica a