RibbonTabHeader.OnKeyDown(KeyEventArgs) Method

Definition

Provides class handling for the KeyDown routed event.

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

Parameters

e
KeyEventArgs

The event data.

Remarks

This method attempts to move the focus to the first element in the tab when the DOWN ARROW key is pressed on the tab header. If successful, it marks the KeyDown event as handled by setting the Handled property of the event data to true.

Applies to