Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cell Class / Parent Property
Example


In This Topic
    Parent Property (Cell)
    In This Topic
    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

    Cells object containing the parent cell collection
    Remarks

    This property is available at run time only.

    Example
    This example illustrates the use of this member by returning the Parent of the cell.
    FarPoint.Win.Spread.Cell acell;
    acell = fpSpread1.ActiveSheet.Cells[0, 0];
    listBox1.Items.Add(acell.Parent.ToString());
    Dim acell As FarPoint.Win.Spread.Cell
    acell = fpSpread1.ActiveSheet.Cells(0, 0)
    ListBox1.Items.Add(acell.Parent.ToString())
    See Also