Back to Devexpress

RowDragEffect Enum

windowsforms-devexpress-dot-xtraverticalgrid-f256b1bc.md

latest3.2 KB
Original Source

RowDragEffect Enum

Contains values specifying the available effect for the processed drag operation.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
public enum RowDragEffect
vb
Public Enum RowDragEffect

Members

NameDescription
None

Specifies the pointer feedback indicating that none of the predefined effects is allowed for the dragged row if the mouse is released at a given moment during a drag operation.

| | InsertBefore |

Specifies the pointer feedback indicating that the dragged row is allowed to be inserted before a target row if the mouse is released at a given moment during a drag operation.

| | MoveChild |

Specifies the pointer feedback indicating that the dragged row is allowed to be inserted as a child of a target row if the mouse is released at a given moment during a drag operation.

| | MoveToEnd |

Specifies the pointer feedback indicating that the dragged row is allowed to be inserted after the last row in the VGridControlBase.Rows collection if the mouse is released at a given moment during a drag operation.

| | InsertAfter |

A row is inserted after another row.

|

The following properties accept/return RowDragEffect values:

Remarks

Values listed in the RowDragEffect enumerator are used to set the DragRowEventArgs.Effect property value. This property is available in handlers for native drag-specific events (VGridControlBase.StartDragRow, VGridControlBase.ProcessDragRow, VGridControlBase.EndDragRow). You can use the DragRowEventArgs.Effect property to specify the pointer feedback indicating what happens if the mouse button is released.

See Also

Effect

DevExpress.XtraVerticalGrid Namespace