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


Glossary Item Box

Gets a Rows object for the rows in the data area of the sheet.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Rows As Rows
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Rows
 
value = instance.Rows
C# 
public Rows Rows {get;}

Property Value

Rows object containing the collection of rows

Remarks

This property returns the rows in the sheet, but not the rows in the column header.

Example

This example sets a border around several cells in the columns and rows.
C#Copy Code
fpSpread1.ActiveSheet.Columns[0, 1].Border = new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1);
fpSpread1.ActiveSheet.Rows[0, 3].Border = new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1);
Visual BasicCopy Code
FpSpread1.ActiveSheet.Columns(0, 1).Border = New FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1)
FpSpread1.ActiveSheet.Rows(0, 3).Border = New FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1)

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.