ActiveReports3 Request technical support
Parent Property
See Also  Example


Gets a reference to the parent section of the control.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Parent As Object
Visual Basic (Usage)Copy Code
Dim instance As ARControl
Dim value As Object
 
value = instance.Parent
C# 
public object Parent {get;}

Return Value

Object - Reference to the parent section.

Example

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

See Also