Skip to main content

DragGridEventArgs.KeyState Property

Gets the pressed mouse buttons and keyboard modifiers.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public DragDropKeyState KeyState { get; }

Property Value

Type Description
DragDropKeyState

A value that specifies mouse buttons and keyboard modifiers.

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