Spread for ASP.NET 8.0 Product Documentation
Item(Int32) Property
Example 


Specified row
Gets a Row object 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
Specified row

Property Value

Row object
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 changes the background color of the first row.
FpSpread1.ActiveSheetView.Rows[0].BackColor = Color.Tan;
FpSpread1.ActiveSheetView.Rows.Item(0).BackColor = Color.Tan
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Rows Class
Rows Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.