[]
        
(Showing Draft Content)

C1.Report.SubSection

SubSection Class

Represents a band within a Section. Each Section contains at least one SubSection.

Inheritance
SubSection
Namespace: C1.Report
Assembly: C1.FlexReport.dll
Syntax
public class SubSection : VisualReportObject, IScriptContextProvider

Properties

Name Description
AutoHeight

Gets or sets a value determining how the height of the sub-section changes depending on its content.

Calculated

Gets a value indicating whether the current sub-section has already been calculated and its RenderHeight property contains a valid value.

Fields

Gets a collection of all fields in this SubSection.

ForcePageBreak

Gets or sets a value determining whether page breaks should be inserted before and/or after the sub-section.

Height

Gets or sets the SubSection height, in twips.

Index

Gets the index of the SubSection in the containing SubSections collection.

ParentReport

Gets the FlexReport object containing this object.

ParentSection

Gets a Section object owning this SubSection object.

PrintAtPageBottom

For master report's sub-sections only, gets or sets a value indicating whether the current sub section should print at the bottom of the page immediately above the page footer, rather than right below the detail. The default is false.

This property is ignored for non-footer sections or for footers of sub-reports.

RenderHeight

Returns the height of the sub-section after the AutoHeight property has been applied to the section. Getting this property can throw an exception if the height of sections was not calculated yet, for example if you access the RenderHeight of the report footer while the report header is being rendered.

SplitBehavior

Gets or sets a value determining how the sub-section behaves when it is too high to fit in the vertical space available on the current page.

Visible

Specifies whether the SubSection will be rendered in the report.

Methods

Name Description
AfterRender()

Called when report rendering finished. Can be used to finalize object after rendering.

AssignFrom(ReportObject, bool)

Assigns (copies) properties from another SubSection to the current object. This method does not copy fields belongs to source SubSection.

BeforeRender()

Called where report rendering starts. Can be used to initialize object before rendering.

CreateSame()

Creates instance of the same type as current object.

GetPropsTable()