แก้ไข

แชร์ผ่าน


RibbonGalleryItem.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) Method

Definition

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

e
KeyboardFocusChangedEventArgs

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