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


In This Topic
    Parent Property (Column)
    In This Topic
    Gets the collection of columns (Columns object) that contains this column.
    Syntax
    'Declaration
     
    Public ReadOnly Property Parent As Columns
    'Usage
     
    Dim instance As Column
    Dim value As Columns
     
    value = instance.Parent
    public Columns Parent {get;}

    Property Value

    Columns object containing parent column 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 column.
    FarPoint.Win.Spread.Column col;
    col = fpSpread1.ActiveSheet.Columns[0];
    listBox1.Items.Add(col.Parent.ToString());
    Dim col As FarPoint.Win.Spread.Column
    col = fpSpread1.ActiveSheet.Columns(0)
    ListBox1.Items.Add(col.Parent.ToString())
    See Also