Spread Windows Forms 12.0 Product Documentation
Parent Property (Row)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Row Class : Parent Property
Gets the parent collection of rows (Rows object) that contains this row.
Syntax
'Declaration
 
Public ReadOnly Property Parent As Rows
'Usage
 
Dim instance As Row
Dim value As Rows
 
value = instance.Parent
public Rows Parent {get;}

Property Value

Rows object containing parent row collection
Remarks

This property is available at run time only.

Example
This example illustrates the use of this member by returning the Rows collection containing this row.
FarPoint.Win.Spread.Row r;
FarPoint.Win.Spread.Rows rs;
r = fpSpread1.ActiveSheet.Cells[0, 0, 250, 250].Row;
rs = r.Parent;
listBox1.Items.Add(rs.ToString());
Dim r As FarPoint.Win.Spread.Row
Dim rs As FarPoint.Win.Spread.Rows
r = FpSpread1.ActiveSheet.Cells(0, 0, 250, 250).Row
rs = r.Parent
ListBox1.Items.Add(rs.ToString())
See Also

Reference

Row Class
Row Members