ActiveReports3 Request technical support
UnderlayNext Property
See Also  Example


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

Syntax

Visual Basic (Declaration) 
Public Property UnderlayNext As Boolean
Visual Basic (Usage)Copy Code
Dim instance As GroupHeader
Dim value As Boolean
 
instance.UnderlayNext = value
 
value = instance.UnderlayNext
C# 
public bool UnderlayNext {get; set;}

Return Value

A Boolean value.  True if the following section will start rendering at the top of this section; otherwise, False.

Example

C#Copy Code
private void groupHeader1_Format(object sender, System.EventArgs eArgs)
{
   
this.groupHeader1.UnderlayNext = true;
}
Visual BasicCopy Code
Private Sub GroupHeader1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles GroupHeader1.Format
   Me.GroupHeader1.UnderlayNext = True
End Sub

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.

See Also