Spread Windows Forms 11.0 Product Documentation
Item(Int32) Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Rows Class > Item Property : Item(Int32) Property
Row index
Gets a new row for the specified row.
Syntax
'Declaration
 
Public Overloads ReadOnly Property Item( _
   ByVal row As Integer _
) As Row
'Usage
 
Dim instance As Rows
Dim row As Integer
Dim value As Row
 
value = instance.Item(row)
public Row Item( 
   int row
) {get;}

Parameters

row
Row index

Property Value

Row object for the specified row
Exceptions
ExceptionDescription
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.
fpSpread1.ActiveSheet.Rows[0].BackColor = Color.LightBlue;
FpSpread1.ActiveSheet.Rows.Item(0).BackColor = Color.LightBlue
See Also

Reference

Rows Class
Rows Members
Overload List