Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public int KeyState { get; }
Visual Basic
Public ReadOnly Property KeyState As Integer
	Get
Visual C++
public:
property int KeyState {
	int get ();
}
F#
member KeyState : int with get

Property Value

Type: Int32
The current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.

See Also