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


Glossary Item Box

Gets the parent object that contains this collection of columns.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Parent As Object
Visual Basic (Usage)Copy Code
Dim instance As Columns
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 Columns collection.
C#Copy Code
listBox1.Items.Add(fpSpread1.ActiveSheet.Columns.Parent.ToString());
Visual BasicCopy Code
ListBox1.Items.Add(FpSpread1.ActiveSheet.Columns.Parent.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.