Spread for ASP.NET 7.0 Product Documentation
Parent Property
See Also  Example Support Options
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.Cell mycell;
FarPoint.Web.Spread.Cells cells;
mycell=FpSpread1.Cells[0,0];
mycell.Value="Who is your parent?";
cells=mycell.Parent;
TextBox1.Text=Convert.ToString(cells);
Visual BasicCopy Code
Dim mycell As FarPoint.Web.Spread.Cell
Dim cells As FarPoint.Web.Spread.Cells
mycell=FpSpread1.Cells(0,0)
mycell.Value="Who is your parent?"
cells=mycell.Parent()
TextBox1.Text=Convert.ToString(cells)

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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