ActiveReports 8
Section Class Members
Properties  Methods  Events

The following tables list the members exposed by Section.

Public Constructors
 NameDescription
Public ConstructorSection ConstructorInitializes a new instance of the Section class.  
Top
Public Properties
 NameDescription
Public PropertyBackColorGets or sets the background color of the section.  
Public PropertyCanGrow

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

 
Public PropertyCanShrink

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

 
Public PropertyControlsGets a collection of all controls contained in the section.  
Public PropertyHeightGets or sets the height of the section.  
Public PropertyNameGets or sets the name of the section.  
Public PropertyTagGets or sets user-defined information to be persisted with the section.  
Public PropertyTypeGets the section's type.  
Public PropertyVisible

Specifies whether the section should be printed or not.

 
Top
Public Methods
 NameDescription
Public MethodAddBookmarkAdds 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.
 
Public MethodDisposeReleases the section instance from memory.  
Public MethodSizeToFitOverloaded. The SizeToFit method is used by the end-user report designer to size a section so that all contained controls are visible.  
Top
Public Events
 NameDescription
Public EventAfterPrintOccurs after the section has been rendered to the page.  
Public EventBeforePrintOccurs immediately before the section is rendered to the page.  
Public EventControlAdded  
Public EventControlRemoved  
Public EventDisposedOccurs when the section instance is released from memory.  
Public EventFormat

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

 
Top
See Also

Reference

Section Class
GrapeCity.ActiveReports.SectionReportModel Namespace

Support Forum