Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / RangeGroupInfo Class / Children Property
Example


In This Topic
    Children Property
    In This Topic
    Gets the child groups of this outline (range group).
    Syntax
    'Declaration
     
    Public ReadOnly Property Children As RangeGroupInfo()
    'Usage
     
    Dim instance As RangeGroupInfo
    Dim value() As RangeGroupInfo
     
    value = instance.Children
    public RangeGroupInfo[] Children {get;}
    Example
    This example returns the start of the range group child.
    private void Button1_Click(object sender, System.EventArgs e) 
    {
    FarPoint.Win.Spread.RangeGroupInfo[] rgi = fpSpread1.ActiveSheet.Columns.GetRangeGroupInfo(1);
    FarPoint.Win.Spread.RangeGroupInfo[] child = rgi[0].Children
    MessageBox.Show(child[0].Start.ToString());
    }
    
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim rgi() As FarPoint.Win.Spread.RangeGroupInfo = FpSpread1.ActiveSheet.Columns.GetRangeGroupInfo(1)
    Dim child() As FarPoint.Win.Spread.RangeGroupInfo = rgi(0).Children
    MsgBox(child(0).End.ToString())
    End Sub
    
    See Also