Gets the number of columns or rows to move.
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property Count As Integer |
C# | |
---|
public int Count {get;} |
Example
This example returns the column count.
C# | Copy Code |
---|
private void Form1_Load(object sender, EventArgs e)
{
fpSpread1.AllowColumnMove = true;
fpSpread1.AllowColumnMoveMultiple = true;
}
private void fpSpread1_ColumnDragMove(object sender, FarPoint.Win.Spread.DragMoveEventArgs e)
{
listBox1.Items.Add(e.Count.ToString());
} |
Visual Basic | Copy 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_ColumnDragMove(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragMoveEventArgs) Handles FpSpread1.ColumnDragMove
ListBox1.Items.Add(e.Count.ToString())
End Sub |
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