Spread Windows Forms 6.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) containing 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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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