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


Glossary Item Box

Gets the parent object containing this collection of rows.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Parent As Object
Visual Basic (Usage)Copy Code
Dim instance As Rows
Dim value As Object
 
value = instance.Parent
C# 
public object Parent {get;}

Property Value

Object containing the parent

Remarks

This property is available at run time only.

The object that can be the parent can be:

Example

This example illustrates the use of this member by returning the parent object containing this Rows collection
C#Copy Code
listBox1.Items.Add(fpSpread1.ActiveSheet.Rows.Parent.ToString());
Visual BasicCopy Code
ListBox1.Items.Add(FpSpread1.ActiveSheet.Rows.Parent.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.