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


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)
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

Reference

Cell Class
Cell Members
Cells Class

 

 


Copyright © GrapeCity, inc. All rights reserved.