Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RowDragEffect Enum

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

public enum RowDragEffect

#Members

Name Description
None

RowDragEffect_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

RowDragEffect_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

RowDragEffect_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

RowDragEffect_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.

#Related API Members

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