Gets or sets the method used to process CanGrow/CanShrink fields.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

Remarks

If this property is set to C1Report, fields with CanGrow or CanShrink properties set to true will move fields directly below them when they grow or shrink. Fields located below but off to the side are not moved.

If this property is set to Access, fields that grow or shrink will affect all fields below, even those which are not directly under the field that was modified as a result of CanGrow/CanShrink. (This is the Microsoft Access behavior).

For example, if fields are arranged in a grid layout and GrowShrinkMode is set to Access, fields within each row will remain vertically aligned when fields above them grow or shrink.

If GrowShrinkMode is set to C1Report, fields within each column will move independently of fields in other columns, and fields within each row will not remain vertically aligned.

The default value for this property is GrowShrinkModeEnum.C1Report.

Examples

For an example using the GrowShrinkMode property, see the Creating CanGrow/CanShrink Fields topic.

See Also