ActiveReports 8
Parent Property
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > ARControl Class : Parent Property

Glossary Item Box

Gets a reference to the parent section of the control.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Parent As System.Object
C# 
public System.object Parent {get;}

Property Value

Object - Reference to the parent section.

Example

C#Copy Code
private void SectionReport1_ReportStart(object sender, System.EventArgs eArgs)
{
    System.Windows.Forms.MessageBox.Show (this.textBox2.Parent.ToString());
}
Visual BasicCopy Code
Private Sub SectionReport1_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
    MessageBox.Show(Me.TextBox1.Parent.ToString())
End Sub

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ARControl Class
ARControl Members
ActiveReports6~GrapeCity.ActiveReports.Section