[]
        
(Showing Draft Content)

C1.WPF.FlexReport.BehaviorOptions

BehaviorOptions Class

Specifies compatibility options for a C1FlexReport. Properties in this class can be used to control compatibility with older versions and with C1Report.

Inheritance
BehaviorOptions
Namespace: C1.WPF.FlexReport
Assembly: C1.WPF.FlexReport.4.6.2.dll
Syntax
public class BehaviorOptions

Properties

Name Description
AddOperatorAsInC1Report

Gets or sets a value indicating whether ADD script operator should work as in C1Report. The default is false. Setting this to true improves compatibility with C1Report.

AllowHorizontalSplitting

Gets or sets a value indicating whether the report content can be split when it is too wide to fit in the horizontal space available on the page.

EnableAggregatesOnReportFields

Gets or sets a value indicating whether report fields can be used in aggregate functions. The default is false. Set this property to true to improve compatibility with C1Report.

FireOnFormatForEachInstanceOfRepeatedGroupSection

Gets or sets a value indicating whether the OnFormat script is fired for each instance of a repeated group footer section, or just once for the first instance. Applies only to groups with Repeat property set to true.

IgnoreInvisibleFieldsInGrowShrinkSections

Gets or sets a value indicating whether invisible fields should be ignored when calculating the heights of CanGrow/CanShrink sections.

IgnoreMarginsForEmptyFields

Gets or sets a value indicating whether for empty fields with AutoHeight or AutoWidth set to CanShrink, margins and borders will have zero heights or widths in the generated report layout. The default is false. Setting this to true improves compatibility with C1Report.

IncreaseSubSectionHeightToFitFields

Gets or sets a value indicating whether the height of SubSection should be increased to fit all fields. This setting is usefull when report generated at runtime. The default is false. Setting this to true improves compatibility with C1Report.

UseDefaultPrinterPaperSize

Gets or sets a value indicating whether the paper size of default printer is used when PaperSize is Custom and both CustomWidth and CustomHeight are 0 (unspecified).

Methods

Name Description
AssignFrom(BehaviorOptions)

Assigns (copies) properties from another BehaviorOptions to the current object.

Reset()

Resets all properties to their default values.

ToString()