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


view
SpreadView view
index
Column or row index of the drag
moveContent
Whether to move content in models without re-mapping the indexes
cancel
Whether to cancel the drag opertation

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 moveContent As Boolean, _
   ByVal cancel As Boolean _
)
Visual Basic (Usage)Copy Code
Dim view As SpreadView
Dim index As Integer
Dim moveContent As Boolean
Dim cancel As Boolean
 
Dim instance As New DragMoveEventArgs(view, index, moveContent, cancel)
C# 
public DragMoveEventArgs( 
   SpreadView view,
   int index,
   bool moveContent,
   bool cancel
)

Parameters

view
SpreadView view
index
Column or row index of the drag
moveContent
Whether to move content in models without re-mapping the indexes
cancel
Whether to cancel the drag opertation

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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