[]
        
(Showing Draft Content)

C1.Report.SubreportField

SubreportField Class

Field used to show subreports in FlexReport.

Inheritance
SubreportField
Namespace: C1.Report
Assembly: C1.FlexReport.dll
Syntax
public class SubreportField : FieldBase, IScriptContextProvider, ICloneable

Constructors

Name Description
SubreportField()

Initializes a new instance of the SubreportField class.

Properties

Name Description
OutlinesVisible

Gets or sets a value indicating whether the outlines generated by this subreport should be included in the master report's outline tree.

ParameterValues

Gets the ReportParameterValues collection containing the list of named values that will be assigned to the parameters of the subreport.

Subreport

Gets or sets a reference to another FlexReport object to be rendered within this SubreportField.

SubreportFilter

Gets or sets the ScriptStringValue yielding the filter that will be applied to the main data source of the subreport.

SubreportHasData

Returns whether a subreport has data and suppresses rendering if it doesn't.

Methods

Name Description
AfterRender()

Called where report rendering finish. Can be used to finalize object after rendering.

AssignFrom(ReportObject, bool)

Copies properties from another object into this object.

BeforeRender()

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

GetContentAutoHeight(double)

Override this method to calculate the height of object on basis of its content, this method is called when field can grow or shrink vertically.

GetContentAutoSize(out double, out double)

Override this method to calculate sizes of object on basis of its content, this method is called when field can grow or shrink vertically and horizontally.

GetContentAutoWidth(double)

Override this method to calculate the width of object on basis of its content, this method is called when field can grow or shrink horizontally.

GetDefAutoHeight()
GetPropsTable()
InitStyle()
InternalBuildBrick(SubSectionBrick)

This method should be overriden in descendant classes like Field, BarCodeField, ChartField and so on.

InternalRefreshBrick(FieldBrickBase)
ResetState()

Called when C1FlexReport starts calculation of the section containing this FieldBase. Resets internal state of the field.