Back to Devexpress

ReportDesigner Class

wpf-devexpress-dot-xpf-dot-reports-dot-userdesigner-2ebc7eb3.md

latest6.0 KB
Original Source

ReportDesigner Class

A control used to create an End-User Report Designer under the WPF platform.

Namespace : DevExpress.Xpf.Reports.UserDesigner

Assembly : DevExpress.Xpf.ReportDesigner.v25.2.dll

NuGet Package : DevExpress.Wpf.Reporting

Declaration

csharp
[DXLicenseWpfReporting]
public class ReportDesigner :
    ReportDesignerBase,
    ICommandScopeAnalyzer
vb
<DXLicenseWpfReporting>
Public Class ReportDesigner
    Inherits ReportDesignerBase
    Implements ICommandScopeAnalyzer

The following members return ReportDesigner objects:

Remarks

The ReportDesigner allows you to incorporate an End-User Report Designer directly within your WPF application.

The following code sample generates an End-User Report Designer:

xaml
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dxrud="http://schemas.devexpress.com/winfx/2008/xaml/reports/userdesigner" x:Class="TestDesigner.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <dxrud:ReportDesigner HorizontalAlignment="Left" Margin="20,10,0,0" VerticalAlignment="Top"/>
</Window>

See the following help topic for detailed instructions: Quick Start with an End-User Report Designer.

You can also customize an End-User Report Designer in various ways: modify context menus, smart tags, dock panels and much more. See the following article for details: API and Customization.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ReportDesigner class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-wpf-designer-load-custom-assembly/CS/UseDataSourceWizardSettings.xaml#L8

xml
xmlns:dxda="http://schemas.devexpress.com/winfx/2008/xaml/dataaccess" >
<dxrud:ReportDesigner>
    <dxrud:ReportDesigner.DataSourceWizardSettings>

reporting-wpf-designer-data-provider-list/CS/WpfReportDesigner_CustomizeWizard/MainWindow.xaml#L12

xml
Title="MainWindow" Height="800" Width="1000">
<dxrud:ReportDesigner x:Name="reportDesigner">
    <dxrud:ReportDesigner.ServicesRegistry>

reporting-wpf-customize-keyboard-shortcuts-in-the-report-designer/CS/T461248/MainWindow.xaml#L17

xml
<dxrud:ReportDesigner Name="designer" DocumentSource="{Binding Report, Mode=OneWay}">
    <dxrud:ReportDesigner.InputBindings>

reporting-wpf-designer-commands/CS/MainWindow.xaml#L9

xml
<dxrud:ReportDesigner Name="designer" />
</Window>

reporting-wpf-report-designer-customize-ribbon-toolbar/CS/MainWindow.xaml#L11

xml
Height="350" Width="525" Loaded="Window_Loaded">
<dxrud:ReportDesigner x:Name="reportDesigner">
    <dxrud:ReportDesigner.RibbonCustomizationActions>

Implements

IReportDesignerUI

Inheritance

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ReportDesignerBase ReportDesigner

See Also

ReportDesigner Members

End-User Report Designer for WPF

WPF Reporting

DevExpress.Xpf.Reports.UserDesigner Namespace