ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / GroupHeader Class / UnderlayNext Property
Example

In This Topic
    UnderlayNext Property
    In This Topic

    Gets or sets a value that specifies whether the section should print underneath the following section.

    Syntax
    'Declaration
     
    Public Property UnderlayNext As Boolean
    public bool UnderlayNext {get; set;}

    Property Value

    A Boolean value.  True if the following section will start rendering at the top of this section; otherwise, False.
    Remarks
    If this property is set to True, be sure that the next section's BackColor is set to System.Drawing.Color.Transparent.  Otherwise, the GroupHeader will be hidden behind the next section.
    Example
    private void groupHeader1_Format(object sender, System.EventArgs eArgs)
    {
        this.groupHeader1.UnderlayNext = true;
    }
    Private Sub GroupHeader1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles GroupHeader1.Format
       Me.GroupHeader1.UnderlayNext = True
    End Sub
    See Also