| Visual Basic (Declaration) | |
|---|---|
Public Event RowDragMoveCompleted() As DragMoveCompletedEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event DragMoveCompletedEventHandler RowDragMoveCompleted() | |
The event handler receives an argument of type DragMoveCompletedEventArgs containing data related to this event. The following DragMoveCompletedEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Count | Gets the number of columns or rows being moved |
| FromIndex | Gets the column or row index of the starting place of the drag. |
| ToIndex | Gets the column or row index of the destination of the drag |
| View | Gets the view in which the columns or row have been dragged. |
This example raises the event.
| C# | Copy Code |
|---|---|
fpSpread1.AllowColumnMove = true; | |
| Visual Basic | Copy Code |
|---|---|
FpSpread1.AllowRowMove = True | |
This event is raised by the OnRowDragMoveCompleted method when the user finishes dragging to move a row.
For more details on the individual event arguments, refer to DragMoveCompletedEventArgs members.