Type Method (SparkPanel)

Class

SparkPanel.

Action

Dispatched when the user presses a key.

Syntax

C#
panel.Type(keyCode, [keyModifier])
VB
panel.Type(keyCode, [keyModifier])
Variable Description
keyCode The key code value of the key pressed. String.
keyModifier Optional: A constant that indicates which key or key combination, if any, was pressed while this operation took place. One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example, if the Shift and Alt keys were pressed, then the value would be flexShiftAlt. ModifierKeys.