[]
Creates a new object with the DragDropBlock event arguments.
public DragDropBlockEventArgs(SpreadView view, int rowBegin, int columnBegin, int rowEnd, int columnEnd, int destRowBegin, int destColumnBegin, int destRowEnd, int destColumnEnd, bool overwrite, int action, bool dataOnly)
Public Sub New(view As SpreadView, rowBegin As Integer, columnBegin As Integer, rowEnd As Integer, columnEnd As Integer, destRowBegin As Integer, destColumnBegin As Integer, destRowEnd As Integer, destColumnEnd As Integer, overwrite As Boolean, action As Integer, dataOnly As Boolean)
Type | Name | Description |
---|---|---|
SpreadView | view | View from which to make a selection |
int | rowBegin | Row index of the top left cell of the source range |
int | columnBegin | Column index of the top left cell of the source range |
int | rowEnd | Row index of the bottom right cell of the source range |
int | columnEnd | Column index of the bottom right cell of the source range |
int | destRowBegin | Row index of the top left cell of the destination range |
int | destColumnBegin | Column index of the top left cell of the destination range |
int | destRowEnd | Row index of the bottom right cell of the destination range |
int | destColumnEnd | Column index of the bottom right cell of the destination range |
bool | overwrite | Whether the destination range contains data |
int | action | Whether the source range is copied or moved |
bool | dataOnly | Whether data or formatting (or both) is copied or moved |
Creates a new object with the DragDropBlock event arguments.
public DragDropBlockEventArgs(SpreadView view, int rowBegin, int columnBegin, int rowEnd, int columnEnd, int destRowBegin, int destColumnBegin, int destRowEnd, int destColumnEnd, bool overwrite, int action, bool dataOnly, bool cancel)
Public Sub New(view As SpreadView, rowBegin As Integer, columnBegin As Integer, rowEnd As Integer, columnEnd As Integer, destRowBegin As Integer, destColumnBegin As Integer, destRowEnd As Integer, destColumnEnd As Integer, overwrite As Boolean, action As Integer, dataOnly As Boolean, cancel As Boolean)
Type | Name | Description |
---|---|---|
SpreadView | view | View from which to make a selection |
int | rowBegin | Row index of the top left cell of the source range |
int | columnBegin | Column index of the top left cell of the source range |
int | rowEnd | Row index of the bottom right cell of the source range |
int | columnEnd | Column index of the bottom right cell of the source range |
int | destRowBegin | Row index of the top left cell of the destination range |
int | destColumnBegin | Column index of the top left cell of the destination range |
int | destRowEnd | Row index of the bottom right cell of the destination range |
int | destColumnEnd | Column index of the bottom right cell of the destination range |
bool | overwrite | Whether the destination range contains data |
int | action | Whether the source range is copied or moved |
bool | dataOnly | Whether data or formatting (or both) is copied or moved |
bool | cancel | Whether the copying or moving of data is cancelled |