MindFusion.Wpf Pack Programmer's Guide
Virtual Keys

Keys in the virtual keyboard are represented by instances of classes derived from Key:

You can sends key's content to focused input control programmatically by calling its Send method. Standard modifier, function and num-pad key instances are exposed as static members of the class. For example you can simulate F12 press by calling Key.F12.Send(). To send text, create a RegularKey, set its Content and call Send. The Key class also specifies the position and size of a key within KeyboardLayout. You can set them through Left, Top, Width and Height properties.

When a modifier key such as Shift or Ctrl is pressed, the keyboard does not release it immediately but waits until a regular key is pressed. If AutoReleaseModifierKeys is set to false, modifier keys won't be released automatically, but the user must press them again to turn off their respective mode.

You can check the state of modifier keys by inspecting following properties of VirtualKeyboard: