Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Hide and Customize Dock Panels (Report Analyzer, Report Explorer and others) in the Report Designer for WPF

Use the following Report Designer options to specify dock panel visibility and behavior:

Panel Type API (Options)
Field List ReportDesigner.FieldListOptions
Properties Window ReportDesigner.PropertyGridOptions
Report Explorer ReportDesigner.ReportExplorerOptions
Report Gallery ReportDesigner.ReportGalleryOptions
Group and Sort Panel ReportDesigner.GroupAndSortPanelOptions
Report Design Analyzer ReportDesigner.ErrorPanelOptions

View Example: How to customize dock panels in the WPF Report Designer

<Window x:Class="Reporting_Customize_Dock_Panels_In_Wpf_Report_DesignerDesigner.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:dxrud="http://schemas.devexpress.com/winfx/2008/xaml/reports/userdesigner"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" WindowState="Maximized" UseLayoutRounding="True">
    <dxrud:ReportDesigner Name="designer">
        <!--Close the Group and Sort Panel.-->
        <dxrud:ReportDesigner.GroupAndSortPanelOptions>
            <dxrud:GroupAndSortPanelOptions Visibility="Closed"/>
        </dxrud:ReportDesigner.GroupAndSortPanelOptions>
        <!--Set auto-hide mode for the Report Explorer.-->
        <dxrud:ReportDesigner.ReportExplorerOptions>
            <dxrud:ReportExplorerOptions Visibility="Hidden" />
        </dxrud:ReportDesigner.ReportExplorerOptions>
        <!--Sort the fields in the Field List in descending order.-->
        <dxrud:ReportDesigner.FieldListOptions>
            <dxrud:FieldListOptions SortOrder="Descending"/>
        </dxrud:ReportDesigner.FieldListOptions>
        <!--Do not group properties into tabs and show favorite properties.-->
        <dxrud:ReportDesigner.PropertyGridOptions>
            <dxrud:PropertyGridOptions UseTabbedView="False" ShowFavoriteProperties="True"/>
        </dxrud:ReportDesigner.PropertyGridOptions>
        <!--Hide the Report Design Analyzer panel.-->
        <dxrud:ReportDesigner.ErrorPanelOptions >
            <dxrud:ErrorPanelOptions  Visibility="Closed" />
        </dxrud:ReportDesigner.ErrorPanelOptions>
    </dxrud:ReportDesigner>
</Window>

The following image shows the result.

WPF Report Designer Dock Panel Customization

You can use the Windows toolbar button to hide Tool windows:

WPF Report Designer Toolbar Window Drop Down List