[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.SectionReportModel.Section

Section Class

Summary description for Section.

Namespace: GrapeCity.ActiveReports.SectionReportModel
Assembly: MESCIUS.ActiveReports.dll
Syntax
public class Section : IComponent, IDisposable, IPersistSection

Constructors

Name Description
Section()

Initializes a new instance of the Section class.

Fields

Name Description
_repeatToFill

The repeat to fill flag

m_height

Properties

Name Description
BackColor

Gets or sets the background color of the section.

CanGrow

Indicates whether the section height should grow when its controls extend beyond its original height.

CanShrink

Indicates whether the section height should be adjusted to the exact total height of its controls.

Controls

Gets a collection of all controls contained in the section.

CurrentLocation

Gets the current location of the control.

Height

Gets or sets the height of the section.

IsRepeated

Gets a value indicating whether this section is repeated.

Name

Gets or sets the name of the section.

Site

Gets or sets the ISite associated with the IComponent.

Tag

Tag

Type

Gets the section's type.

Visible

Specifies whether the section should be printed or not.

Methods

Name Description
AddBookmark(string)

Adds a bookmark in the report's table of contents. The bookmark will position the view at the start of the section if the bookmark is added in the section's Format event. Bookmark text to be displayed in the table of contents treeview.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

SizeToFit()

Sizes the section to fit the contained controls.

SizeToFit(bool)

Sizes the section to fit the contained controls and optionally allows the section to shrink to fit the contained controls.

Events

Name Description
AfterPrint

Occurs after the section has been rendered to the page.

BeforePrint

Occurs immediately before the section is rendered to the page.

Format

Occurs after the section's data is loaded and bound to the section's controls, but before the section is rendered to the canvas.

Extension Methods