Spread Windows Forms 7.0 Product Documentation
Count Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DragMoveCompletedEventArgs Class : Count Property

Glossary Item Box

Gets the number of columns or rows being moved.


Visual Basic (Declaration) 
Public ReadOnly Property Count As Integer
Visual Basic (Usage)Copy Code
Dim instance As DragMoveCompletedEventArgs
Dim value As Integer
value = instance.Count
public int Count {get;}

Property Value

The number of columns or rows being moved


This example returns the Count property.
C#Copy Code
private void Form1_Load(object sender, EventArgs e)
            fpSpread1.AllowColumnMove = true;  
            fpSpread1.AllowColumnMoveMultiple = true;         
private void fpSpread1_ColumnDragMoveCompleted(object sender, FarPoint.Win.Spread.DragMoveCompletedEventArgs e)
Visual BasicCopy Code
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        FpSpread1.AllowColumnMove = True
        FpSpread1.AllowColumnMoveMultiple = True
    End Sub
Private Sub FpSpread1_ColumnDragMoveCompleted(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragMoveCompletedEventArgs) Handles FpSpread1.ColumnDragMoveCompleted
    End Sub


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.