'Declaration Public Event DragDropBlock As EventHandler(Of DragDropBlockEventArgs)
'Usage Dim instance As GcSpreadSheet Dim handler As EventHandler(Of DragDropBlockEventArgs) AddHandler instance.DragDropBlock, handler
public event EventHandler<DragDropBlockEventArgs> 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 |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
ColumnCount | Gets the column count of the cell range being dragged. |
Copy | Gets whether the source range is copied. |
CopyOption | Gets the CopyOption value for the drag and drop operation. |
FromColumn | Gets the column index of the top left cell of the source range (range being dragged). |
FromRow | Gets the row index of the top left cell of the source range (range being dragged). |
Insert | Gets whether the source range is inserted. |
RowCount | Gets the row count of the cell range being dragged. |
ToColumn | Gets the column index of the bottom right cell of the destination range (where selection is dropped). |
ToRow | Gets the row index of the top left cell of the destination range (where selection is dropped). |
See Also