Spread Windows Forms 7.0 Product Documentation
DragMoveEventArgs Constructor(SpreadView,Int32,Int32,Boolean,Boolean)
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DragMoveEventArgs Class > DragMoveEventArgs Constructor : DragMoveEventArgs Constructor(SpreadView,Int32,Int32,Boolean,Boolean)


view
SpreadView view
index
Column or row index of the drag
count
Number of columns or rows being moved
moveContent
Whether to move content in models without re-mapping the indexes
cancel
Whether to cancel the drag operation

Glossary Item Box

Creates a new object with the DragMove event arguments.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal view As SpreadView, _
   ByVal index As Integer, _
   ByVal count As Integer, _
   ByVal moveContent As Boolean, _
   ByVal cancel As Boolean _
)
Visual Basic (Usage)Copy Code
Dim view As SpreadView
Dim index As Integer
Dim count As Integer
Dim moveContent As Boolean
Dim cancel As Boolean
 
Dim instance As New DragMoveEventArgs(view, index, count, moveContent, cancel)
C# 
public DragMoveEventArgs( 
   SpreadView view,
   int index,
   int count,
   bool moveContent,
   bool cancel
)

Parameters

view
SpreadView view
index
Column or row index of the drag
count
Number of columns or rows being moved
moveContent
Whether to move content in models without re-mapping the indexes
cancel
Whether to cancel the drag operation

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.