Tritium Reporting
TritiumReportViewer
Paginate a bound report, zoom it, search it, and export it to the formats your users expect.
Key features
- Bind a report definition plus rows, or hand it a finished document.
- Accept a data source, a list of objects or dictionaries, and prompt for parameters.
- Move first, previous, next, and last, and show a document map.
- Zoom to fit width, fit page, or a percent from 25% to 400%.
- Find text and step through the hits.
- Export PDF, Word, Excel (xlsx and xls), PNG, CSV, HTML, XML, MHTML, PowerPoint, and TIFF.
- Raise PrintRequested so the app can show its own print UI.
- Raise ActionRequested when the user activates a link, mailto, or embedded document.
Platforms
Android, iOS, Mac Catalyst, and Windows 10 version 19041 and later (.NET 10 MAUI).
Main API
- Report . The report definition to run.
- Data . Rows: a report data source, or any list of objects or dictionaries.
- Zoom . Scale from 0.25 to 4; FitWidth and FitPage set the mode instead.
- PrintRequested . Fires with the paginated document when the user prints.
Basic example
Declare this namespace on the page.
xmlns:reporting="clr-namespace:Tritium.Maui.Reporting;assembly=Tritium.Maui.Reporting"
<reporting:TritiumReportViewer x:Name="Viewer"
Report="{Binding Report}"
PrintRequested="OnPrintRequested" /> Add the package source from your license, then reference the package that includes this control. These packages are not on the public NuGet Gallery.
Part of Tritium Reporting , available on its own or in Tritium UI Complete.