ActiveReports3 Request technical support
Name Property
See Also  Example


Gets or sets the name of the section.

Syntax

Visual Basic (Declaration) 
Public Property Name As String
Visual Basic (Usage)Copy Code
Dim instance As Section
Dim value As String
 
instance.Name = value
 
value = instance.Name
C# 
public string Name {get; set;}

Return Value

String. Unique name of the section.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
   
this.detail.Name = "Products";
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.Detail1.Name = "Products"
End Sub

Remarks

The section name is used as a key in the report Sections collection.

See Also