Spread Windows Forms 8.0 Product Documentation
Parent Property (Cells)
Example 


Gets the parent object that contains this collection of cells.
Syntax
'Declaration
 
Public ReadOnly Property Parent As Object
'Usage
 
Dim instance As Cells
Dim value As Object
 
value = instance.Parent
public object Parent {get;}

Property Value

Object containing the parent
Remarks

This property is available at run time only.

The object that can be the parent can be:

Example
MessageBox.Show(fpSpread1.ActiveSheet.Cells[0, 0].Parent.ToString());
MessageBox.Show(FpSpread1.ActiveSheet.Cells(0, 0).Parent.ToString())
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

Cells Class
Cells Members

 

 


Copyright © GrapeCity, inc. All rights reserved.