# WPF Viewer

Learn the essential steps to add the Viewer control to your WPF application.

## Content



To add Viewer Control to your WPF application,

1.  In Visual Studio 2022, create a new [WPF Application](https://learn.microsoft.com/en-us/dotnet/desktop/wpf/get-started/create-app-visual-studio?view=netdesktop-7.0&viewFallbackFrom=netdesktop-5.0) or open an existing one.
2.  Install NuGet package for 'MESCIUS.ActiveReports.Viewer.Wpf'. For more information on installing NuGet packages, see [Manage ActiveReports Dependencies](/activereportsnet/docs/v19.2/devops/install-activereports/manage-ar-dependencies) topic.
3.  Open **XAML Designer** (MainWindow.xaml) to verify the **Viewer** control showing up in the Visual Studio Toolbox under 'WPF Viewer' tab.<br />Make sure that the [XAML Hot Reload](https://learn.microsoft.com/en-us/troubleshoot/developer/visualstudio/ide/xaml-hot-reload-troubleshooting?view=vs-2022) is enabled. See [Troubleshooting](/activereportsnet/docs/v19.2/ar-troubleshooting) for more information.
4.  From the Toolbox ActiveReports 19 tab, drag the **Viewer** control and drop it on the design view of MainWindow.xaml.

> type=note
> **Note**: Dragging the **Viewer** control to the design view of MainWindow.xaml automatically adds the corresponding reference to the licenses.licx file.

On using the Page, RDLX, or Section report template, a new ActiveReports 19 tab is automatically added in the toolbox with the controls in sync with the references.

## See Also

[Load Reports](/activereportsnet/docs/v19.2/developers/create-applications/dotnet-viewer-application/working-with-wpf-viewer/load-reports-in-wpf-viewer)

[Customize the WPF Viewer](/activereportsnet/docs/v19.2/developers/create-applications/dotnet-viewer-application/working-with-wpf-viewer/devs-customize-wpf-viewer)

#### Report Readers

[Windows Presentation Foundation Viewer](/activereportsnet/docs/v19.2/report-readers/desktop-viewers/wpf-viewer)

#### Samples

[WPF Viewer](/activereportsnet/docs/v19.2/samples/samples-ar/desktop-sample/wpf-viewer-sample)
