ActiveReports 18 .NET Edition
Samples / Samples / API / Section Report / Cross Section Controls
In This Topic
    Cross Section Controls
    In This Topic

    This CrossSectionControls sample displays the invoice report of a company in detail. This sample uses the CrossSectionBox and CrossSectionLine controls to demonstrate the lines and display the Invoice report in a tabular form. It includes a ViewerForm with three tabs, three Viewer controls and an Invoice report to highlight several report features. Run the project and click the tab to see these features in action.

    CrossSectionBox and CrossSectionLine controls

    Sample

    Visual Basic.NET

    https://github.com/activereports/Samples18/tree/main/API/Section/CrossSectionControls/VB.NET

    C#

    https://github.com/activereports/Samples18/tree/main/API/Section/CrossSectionControls/C#

    Details

    When you run this sample, a form with three different tab options and each tab option displaying a report in a Viewer control is displayed. Click any tab option at the bottom of the form to display the selected tab feature applied to the report in a Viewer control. Select from the following tab options. 

    Cross Section Controls
    Draws table style gridlines easily through multiple sections without any gap.

    Detail RepeatToFill
    The Detail RepeatToFill tab has the RepeatToFill property set to True. This ensures that the formatting (alternating purple and white rows and CrossSection controls) fills space as needed to keep the same layout between pages.

    GroupFooter PrintAtBottom
    The GroupFooter section has the PrintAtBottom property set to True. This pulls the GroupFooter section to the bottom of the page, just above the PageFooter section.

    Note: To run this sample, you must have access to the Nwind.db. The NWIND.db file can be downloaded from GitHub: ..\Samples18\Data\NWIND.db.