FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : AllowRowMoveMultiple Property |
fpSpread1.AllowRowMove = true; fpSpread1.AllowRowMoveMultiple = true; private void fpSpread1_RowDragMove(object sender, FarPoint.Win.Spread.DragMoveEventArgs e) { listBox1.Items.Add(e.Count.ToString()); } private void fpSpread1_RowDragMoveCompleted(object sender, FarPoint.Win.Spread.DragMoveCompletedEventArgs e) { listBox1.Items.Add(e.Count.ToString()); }
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load FpSpread1.AllowRowMove = True FpSpread1.AllowRowMoveMultiple = True End Sub Private Sub FpSpread1_RowDragMove(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragMoveEventArgs) Handles FpSpread1.RowDragMove ListBox1.Items.Add(e.Count.ToString()) End Sub Private Sub FpSpread1_RowDragMoveCompleted(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragMoveCompletedEventArgs) Handles FpSpread1.RowDragMoveCompleted ListBox1.Items.Add(e.Count.ToString()) 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