Spread Windows Forms 6.0 Product Documentation
MoveRow Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : MoveRow Method


Glossary Item Box

Moves the specified row from its current index to the specified index, and shifts each column in between and the destination column one column in the direction of the specified column.

Overload List

OverloadDescription
MoveRow(Int32,Int32,Int32,Boolean)Moves the specified row from its current index to the specified index, and shifts each column in between and the destination column one column in the direction of the specified column.  
MoveRow(Int32,Int32,Boolean)Moves the specified row from its current index to the specified index, and shifts each row in between and the destination row one row in the direction of the specified row.  

Remarks

If the moveContent option is false then cell spans are invisible If the moveContent option is true then cell spans are moved.

Example

This example moves the row from its current index to the specified index.
C#Copy Code
fpSpread1.ActiveSheet.MoveRow(0, 2, true);
Visual BasicCopy Code
FpSpread1.ActiveSheet.MoveRow(0, 2, True)

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.