DiagramDragEventArgs.KeyState Property

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property KeyState As Integer
public int KeyState { get; }
public:
property int KeyState {
    int get ();
}
member KeyState : int with get
function get KeyState () : int

Property Value

Type: System.Int32

.NET Framework Security

See Also

Reference

DiagramDragEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace