Spread Windows Forms 7.0 Product Documentation
Index Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Row Class : Index Property


Glossary Item Box

Gets the index of this row, or the starting index for this range of rows.

Syntax

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

Property Value

Integer index of the row, or starting row if in a range

Remarks

This property is available at run time only.

Example

This example illustrates the use of this member by returning the indexes of the rows in the range.
C#Copy Code
FarPoint.Win.Spread.Row r;
r = fpSpread1.ActiveSheet.Rows[0, 3];
listBox1.Items.AddRange(new Object[] {r.Index.ToString(), r.Index2.ToString()});
Visual BasicCopy Code
Dim r As FarPoint.Win.Spread.Row
r = FpSpread1.ActiveSheet.Rows(0, 3)
ListBox1.Items.AddRange(New Object() {r.Index.ToString(), r.Index2.ToString()})

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.