Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Columns Class / Parent Property
Example


In This Topic
    Parent Property (Columns)
    In This Topic
    Gets the parent object that contains this collection of columns.
    Syntax
    'Declaration
     
    Public ReadOnly Property Parent As Object
    'Usage
     
    Dim instance As Columns
    Dim value As Object
     
    value = instance.Parent
    public object Parent {get;}
    Example
    This example returns the parent of the specified column.
    object o;
    o = FpSpread1.ActiveSheetView.Columns[0].Parent;
    Response.Write(o.ToString());
    Dim o As Object
    o = FpSpread1.ActiveSheetView.Columns(0).Parent
    Response.Write(o.ToString())
    See Also