Class GridSelectionReason
Defines the GridSelectionReason.A GridSelectionReason is used by GridSelectionChangingEventArgs to give a hint about the current state of the user action and reason for this event (mouse, keyboard or programmatic).
Inheritance
System.Object
GridSelectionReason
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridSelectionReason : Enum
Fields
ArrowKey
Indicates user is moving current cell with arrow keys.
Declaration
public const GridSelectionReason ArrowKey
Field Value
| Type |
|---|
| GridSelectionReason |
CancelMode
Indicates current operation was canceled.
Declaration
public const GridSelectionReason CancelMode
Field Value
| Type |
|---|
| GridSelectionReason |
Clear
Indicates a Clear() call, e.g. when user hit Escape-key.
Declaration
public const GridSelectionReason Clear
Field Value
| Type |
|---|
| GridSelectionReason |
MouseDown
Indicates user pressed mouse down.
Declaration
public const GridSelectionReason MouseDown
Field Value
| Type |
|---|
| GridSelectionReason |
MouseMove
Indicates user is moving mouse.
Declaration
public const GridSelectionReason MouseMove
Field Value
| Type |
|---|
| GridSelectionReason |
MouseUp
Indicates user released mouse.
Declaration
public const GridSelectionReason MouseUp
Field Value
| Type |
|---|
| GridSelectionReason |
SelectRange
Indicates a SelectRange(GridRangeInfo, Boolean) call.
Declaration
public const GridSelectionReason SelectRange
Field Value
| Type |
|---|
| GridSelectionReason |
SetCurrentCell
Indicates a MoveTo(Int32, Int32, GridSetCurrentCellOptions, Boolean) call.
Declaration
public const GridSelectionReason SetCurrentCell
Field Value
| Type |
|---|
| GridSelectionReason |