C1.C1Preview Namespace > RenderReport Class : GrowShrinkMode Property |
'Declaration Public Property GrowShrinkMode As GrowShrinkModeEnum
public GrowShrinkModeEnum GrowShrinkMode {get; set;}
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 RenderReport.GrowShrinkMode is set to GrowShrinkModeEnum.Access, fields within each row will remain vertically aligned when fields above them grow or shrink.
If RenderReport.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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2