Gets or sets a value indicating how CanGrow and CanShrink properties are handled.

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

Syntax

C#
public GrowShrinkModeEnum GrowShrinkMode { get; set; }
Visual Basic
Public Property GrowShrinkMode As GrowShrinkModeEnum
	Get
	Set

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.

See Also