RibbonGalleryItem.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides class handling for the GotKeyboardFocus routed event.
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)
Parameters
The event data.
Remarks
This method sets the IsHighlighted property to true
when this control gets keyboard focus.
This implementation marks the GotKeyboardFocus event as handled by setting the Handled property of the event data to true
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.