Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RenderReport Class / GrowShrinkMode Property

In This Topic
    GrowShrinkMode Property (RenderReport)
    In This Topic
    Gets or sets a value indicating how RenderField.CanGrow and RenderField.CanShrink properties are handled.
    Syntax
    'Declaration
     
    Public Property GrowShrinkMode As GrowShrinkModeEnum
    public GrowShrinkModeEnum GrowShrinkMode {get; set;}
    Remarks

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