FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / C1FlexReport Class / GrowShrinkMode Property

In This Topic
    GrowShrinkMode Property (C1FlexReport)
    In This Topic
    Gets or sets the method used to process CanGrow/CanShrink fields.
    Syntax
    'Declaration
     
    Public Property GrowShrinkMode As GrowShrinkModeEnum
    public GrowShrinkModeEnum GrowShrinkMode {get; set;}
    Remarks

    If this property is set to C1Report, fields with Field.CanGrow or Field.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 GrowShrinkModeEnum.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 GrowShrinkModeEnum.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