The requested page is not available for the requested platform. You are viewing the content for Default platform.

Add an End-User Report Designer to a WPF Application

  • 2 min to read

This document describes how to embed an End-User Report Designer to a WPF application and open the specified report in it:

  1. Open an existing reporting application or create a new one from scratch.
  2. In Visual Studio, open the MainWindow.xaml file of your WPF application.
  3. Switch to the Toolbox (by pressing CTRL+ALT+X), expand the DX.19.1: Reporting tab and drop the ReportDesigner control to the Window.


    This generates the following XAML code.

    <Window xmlns=""
            xmlns:dxrud="" x:Class="TestDesigner.MainWindow"
            Title="MainWindow" Height="350" Width="525">
        <dxrud:ReportDesigner HorizontalAlignment="Left" Margin="20,10,0,0" VerticalAlignment="Top"/>
  4. Right-click the Designer, select Layout and then Fill All to fill the entire window.


  5. Go to the Properties grid and specify the Designer's name.


  6. Handle the Window's Loaded event. In the event handler, pass the report you want to open in the Designer to the ReportDesigner.OpenDocument method.

    private void Window_Loaded(object sender, RoutedEventArgs e) {
        // ...
  7. Run the application to see the End-User Report Designer.

    If you want to display the End-User Report Designer with the previous ribbon version, set the ReportDesigner.UseOfficeInspiredRibbonStyle property to false as shown below.

    <dxrud:ReportDesigner x:Name="reportDesigner" UseOfficeInspiredRibbonStyle="False"/>


See Also