Sdílet prostřednictvím


DiagramDragEventArgs.KeyState Property

Definition

Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons. bit 1: the left mouse button bit 2: the right mouse button bit 4: the SHIFT key bit 8: the CONTROL key bit 16: the middle mouse button bit 32: the ALT key

public:
 property int KeyState { int get(); };
public int KeyState { get; }
member this.KeyState : int
Public ReadOnly Property KeyState As Integer

Property Value

Applies to