'Declaration
Public Event DragDropBlock As DragDropBlockEventHandler
'Usage
Dim instance As FpSpread Dim handler As DragDropBlockEventHandler AddHandler instance.DragDropBlock, handler
public event DragDropBlockEventHandler DragDropBlock
Event Data
The event handler receives an argument of type DragDropBlockEventArgs containing data related to this event. The following DragDropBlockEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Action | Gets or sets whether the source range is copied or moved. |
Cancel | Gets or sets whether the copying or moving of data is cancelled. |
ColumnBegin | Gets the column index of the top left cell of the source range (being dragged). |
ColumnEnd | Gets the column index of the bottom right cell of the source range (being dragged). |
DataOnly | Gets or sets whether data or formatting (or both) is copied or moved. |
DestinationColumnBegin | Gets the column index of the top left cell of the destination range (where selection is dropped). |
DestinationColumnEnd | Gets the column index of the bottom right cell of the destination range (where selection is dropped). |
DestinationRowBegin | Gets the row index of the top left cell of the destination range (where selection is dropped). |
DestinationRowEnd | Gets the row index of the bottom right cell of the destination range (where selection is dropped). |
Overwrite | Gets whether the destination range contains data (that is overwritten). |
RowBegin | Gets the row index of the top left cell of the source range (being dragged). |
RowEnd | Gets the row index of the bottom right cell of the source range (being dragged). |
See Also