DragDropBlockCompletedEventArgs Constructor
In This Topic
Creates a new object with the DragDropBlockCompleted event arguments.
Syntax
'Declaration
Public Function New( _
ByVal As SpreadView, _
ByVal As Integer, _
ByVal columnBegin As Integer, _
ByVal As Integer, _
ByVal columnEnd As Integer, _
ByVal As Integer, _
ByVal destColumnBegin As Integer, _
ByVal As Integer, _
ByVal destColumnEnd As Integer, _
ByVal As Boolean, _
ByVal As Integer, _
ByVal As Boolean _
)
'Usage
Dim view As SpreadView
Dim rowBegin As Integer
Dim columnBegin As Integer
Dim rowEnd As Integer
Dim columnEnd As Integer
Dim destRowBegin As Integer
Dim destColumnBegin As Integer
Dim destRowEnd As Integer
Dim destColumnEnd As Integer
Dim overwrite As Boolean
Dim action As Integer
Dim dataOnly As Boolean
Dim instance As New DragDropBlockCompletedEventArgs(view, rowBegin, columnBegin, rowEnd, columnEnd, destRowBegin, destColumnBegin, destRowEnd, destColumnEnd, overwrite, action, dataOnly)
public DragDropBlockCompletedEventArgs(
SpreadView ,
int ,
int columnBegin,
int ,
int columnEnd,
int ,
int destColumnBegin,
int ,
int destColumnEnd,
bool ,
int ,
bool
)
Parameters
- view
- View from which to make a selection
- rowBegin
- Row index of the top left cell of the source range
- columnBegin
- Column index of the top left cell of the source range
- rowEnd
- Row index of the bottom right cell of the source range
- columnEnd
- Column index of the bottom right cell of the source range
- destRowBegin
- Row index of the top left cell of the destination range
- destColumnBegin
- Column index of the top left cell of the destination range
- destRowEnd
- Row index of the bottom right cell of the destination range
- destColumnEnd
- Column index of the bottom right cell of the destination range
- overwrite
- Whether the destination range contains data
- action
- Whether the source range is copied or moved
- dataOnly
- Whether data or formatting (or both) is copied or moved
See Also