FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.5.2 Assembly / C1.Win.FlexReport Namespace / Section Class / KeepTogether Property

In This Topic
    KeepTogether Property (Section)
    In This Topic
    Specifies whether the Section should be kept together on a page.
    Syntax
    'Declaration
     
    Public Property KeepTogether As Boolean
    public bool KeepTogether {get; set;}
    Remarks

    The Group and Field objects also have KeepTogether properties.

    The Group object's Group.KeepTogether property works across sections. It determines whether group headers should be kept together with their first detail section or whether entire groups should be kept together on a page.

    The Field object's FieldBase.KeepTogether property determines whether the field should be rendered on a single page or whether it is allowed to be split across page breaks.

    See Also