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


row
Row index

Glossary Item Box

Gets a new row for the specified row.

Syntax

Visual Basic (Declaration) 
Public Overloads ReadOnly Property Item( _
   ByVal row As Integer _
) As Row
Visual Basic (Usage)Copy Code
Dim instance As Rows
Dim row As Integer
Dim value As Row
 
value = instance.Item(row)
C# 
public Row Item( 
   int row
) {get;}

Parameters

row
Row index

Property Value

Row object for the specified row

Exceptions

ExceptionDescription
System.IndexOutOfRangeException Specified row index is out of range. It must less than the row count or -1 for all.

Example

This example sets the background color of the first row.
C#Copy Code
fpSpread1.ActiveSheet.Rows[0].BackColor = Color.LightBlue;
Visual BasicCopy Code
FpSpread1.ActiveSheet.Rows.Item(0).BackColor = Color.LightBlue

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.