See Also

Section Members  | DataDynamics.ActiveReports Namespace  | SectionCollection  | Detail  | GroupFooter  | GroupHeader  | PageFooter  | PageHeader  | ReportFooter  | ReportHeader

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Section Class

Section is the base class of all ActiveReports section types.

For a list of all members of this type, see Section members.

Object Model


Inheritance Hierarchy

System.Object
   DataDynamics.ActiveReports.Section
      DataDynamics.ActiveReports.ReportHeader
      DataDynamics.ActiveReports.ReportFooter
      DataDynamics.ActiveReports.PageHeader
      DataDynamics.ActiveReports.PageFooter
      DataDynamics.ActiveReports.GroupHeader
      DataDynamics.ActiveReports.GroupFooter
      DataDynamics.ActiveReports.Detail

Syntax

[Visual Basic]
Public Class Section
[C#]
public class Section

Remarks

Use this class to access, add or modify section controls and set section properties.  You can add sections to a report using the Sections property of the report object and the SectionCollection class.

Example

[C#] 

private void Detail_Format(object sender, System.EventArgs eArgs) 

    this.Detail.AddBookmark("Products"); 
    this.Detail.BackColor = System.Drawing.Color.Transparent; 
    this.Detail.CanGrow = true; 
    this.Detail.CanShrink = false; 
    this.Detail.Controls.Clear(); 
    this.Detail.Height = 2.0f; 
    this.Detail.Name = "Products"; 
    this.Detail.Visible = true; 
    this.Detail.SizeToFit(); 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
    Me.Detail.AddBookmark("Products")
    Me.Detail.BackColor = System.Drawing.Color.Transparent
    Me.Detail.CanGrow = True
    Me.Detail.CanShrink = False
    Me.Detail.Controls.Clear()
    Me.Detail.Height = 2.0F
    Me.Detail.Name = "Products"
    Me.Detail.Visible = True
    Me.Detail.SizeToFit()
End Sub

See Also

Section Members  | DataDynamics.ActiveReports Namespace  | SectionCollection  | Detail  | GroupFooter  | GroupHeader  | PageFooter  | PageHeader  | ReportFooter  | ReportHeader

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.