Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public ReadOnly Property KeyState As Integer
public int KeyState { get; }
public:
property int KeyState {
int get ();
}
member KeyState : int
function get KeyState () : int
Property Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.