ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / ARControl Class / Parent Property
Example

In This Topic
    Parent Property (ARControl)
    In This Topic
    Gets a reference to the parent section of the control.
    Syntax
    'Declaration
     
    Public ReadOnly Property Parent As Object
    public object Parent {get;}

    Property Value

    Object - Reference to the parent section.

    Example
    private void SectionReport1_ReportStart(object sender, System.EventArgs eArgs)
    {
        System.Windows.Forms.MessageBox.Show (this.textBox2.Parent.ToString());
    }
    Private Sub SectionReport1_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
        MessageBox.Show(Me.TextBox1.Parent.ToString())
    End Sub
    See Also