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


Glossary Item Box

Gets the parent collection of rows (Rows object) that contains this row.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Parent As Rows
Visual Basic (Usage)Copy Code
Dim instance As Row
Dim value As Rows
 
value = instance.Parent
C# 
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.
C#Copy Code
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());
Visual BasicCopy Code
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())

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.