Piccolo.NET

PNavigationEventHandler.OnKeyDown Method 

Overridden. Handles key events that move the focus.

public override void OnKeyDown(
   object sender,
   PInputEventArgs e
);

Parameters

sender
The source of the PInputEvent.
e
A PInputEventArgs that contains the event data.

Implements

PInputEventListener.OnKeyDown

Remarks

If an arrow key was pressed, this method moves the focus to a node in the appropriate direction. The Page Up and Page Down keys act just like the Up and Down arrow keys respectively. However when the Alt modifier is pressed, Page Up will move the focus to the parent of the current focus and Page Down will move the focus to the nearest child.

See Also

PNavigationEventHandler Class | UMD.HCIL.PiccoloX.Events Namespace