Spread for ASP.NET 9.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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Cell Class
Cell Members
Cells Class

 

 


Copyright © GrapeCity, inc. All rights reserved.