Spread for ASP.NET 11 Product Documentation
Parent Property (Cell)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Cell Class : Parent Property
Gets the parent for this cell.
Syntax
'Declaration
 
Public ReadOnly Property Parent As Cells
'Usage
 
Dim instance As Cell
Dim value As Cells
 
value = instance.Parent
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.
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);
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)
See Also

Reference

Cell Class
Cell Members
Cells Class