Spread ASP.NET 6.0 Product Documentation
Parent Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Cell Class : Parent Property


Glossary Item Box

Gets the parent for this cell.

Syntax

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

Property Value

Parent Cells object containing this cell

Example

This example creates a Cell object and returns its Parent to a text box.
C#Copy Code
FarPoint.Web.Spread.Cellmycell;
FarPoint.Web.Spread.Cellscells;
mycell=FpSpread1.Cells[0,0];
mycell.Value="Whoisyourparent?";
cells=mycell.Parent;
TextBox1.Text=Convert.ToString(cells);
Visual BasicCopy Code
DimmycellAsFarPoint.Web.Spread.Cell
DimcellsAsFarPoint.Web.Spread.Cells
mycell=FpSpread1.Cells(0,0)
mycell.Value="Whoisyourparent?"
cells=mycell.Parent()
TextBox1.Text=Convert.ToString(cells)

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.