Skip to main content

QueryDragPreviewImageEventArgs.KeyState Property

Gets the pressed mouse buttons (left, middle, right) and modifier keys (Shift, Ctrl, Alt).

Namespace: DevExpress.Utils.DragDrop

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public DragDropKeyState KeyState { get; }

Property Value

Type Description
DragDropKeyState

A DragDropKeyState enumeration value that specifies the pressed mouse buttons and modifier keys.

Available values:

Name Description
None

No keyboard keys or mouse buttons are pressed.

LMouseButton

The left mouse button is pressed.

RMouseButton

The right mouse button is pressed.

Shift

The Shift key is pressed.

Control

The Ctrl key is pressed.

MMouseButton

The middle mouse button is pressed.

Alt

The Alt key is pressed.

See Also