# Style Sheets

This ActiveReports sample demonstrates how to work with embedded and external style sheets in RDLX and Page reports.

## Content

This sample demonstrates how to work with embedded and external style sheets in Page and RDLX reports.

![RDL report with external stylesheet](https://cdn.mescius.io/document-site-files/images/b298aea2-8cb8-4a0f-be88-4f54aa263ebd/images/stylesheets_sample.png)

### Sample Location

**Visual Basic.NET**

[https://github.com/activereports/Samples19/tree/main/API/PageAndRDLX/Stylesheets/VB.NET](https://github.com/activereports/Samples19/tree/main/API/PageAndRDLX/Stylesheets/VB.NET)

**C#**

[https://github.com/activereports/Samples19/tree/main/API/PageAndRDLX/Stylesheets/C#](https://github.com/activereports/Samples19/tree/main/API/PageAndRDLX/Stylesheets/C%23)

### Details

When you run this sample, the main **StyleSheetsForm** interface displaying the following options appears:

1. **Choose Report**: Select the type of report you want to display in the Viewer.
2. **Choose Style**: Select a style sheet; embedded or external to apply to the report.

Click on **Run** **Report** button to load the report with the selected options in the Viewer. See [Styles](/activereportsnet/docs/v19.2/report-authors/design-reports/design-page-rdl-reports/report-appearance/styles) for more information about style sheets.
**StyleSheetsForm**: This is the main form of the sample that displays reports in the ActiveReports **Viewer** control in the bottom section of the form, and options such as Choose report, Choose style and Run report button at the top of the form.

**DeliverySlip.rdlx**: This is a Page Report, that contains TextBox, Label, Container controls and two Table data regions to display the invoice information. The report uses Theme1.rdlx-theme file and BaseStyle as an embedded style sheet. Some TextBox controls on the report also use the [Expressions](/activereportsnet/docs/v19.2/report-authors/design-reports/design-page-rdl-reports/expressions) to display the total price information for each invoice. This report uses the **Seikyu2** shared data source.

**ReorderList.rdlx**: This is an RDLX report, that contains Table data region to display data from **Reels** shared data source. The Reels logo in the report is embedded within the Reels.rdlx-theme.

**External Stylesheet**: Following external style sheets are provided in this folder:

External Stylesheet Location - ..\\Samples19\\API\\PageAndRDL\\Stylesheets\\Reports

* BaseStyle.rdlx-styles
* FaxSheetStyle.rdlx-styles
* HighContrastStyle.rdlx-styles
* ModernStyle.rdlx-styles