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

ReportDesigner.ShowPreviewTab Property

Specifies whether to display Scripts tab in the Report Designer. This is a dependency property.

Namespace: DevExpress.Xpf.Reports.UserDesigner

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

NuGet Package: DevExpress.Wpf.Reporting

#Declaration

public bool ShowPreviewTab { get; set; }

#Property Value

Type Description
Boolean

true, if the Scripts tab is displayed; otherwise, false.

#Remarks

If the ShowPreviewTab property is set to true (the default value), the Report Designer displays the Preview tab.

Report Designer Show Preview Tab

Set the ShowPreviewTab property to false to hide the tab.

using DevExpress.Xpf.Reports.UserDesigner;
//...
    public partial class MainWindow : Window {
        public MainWindow() {
            reportDesigner.ShowPreviewTab = false;
            //...
        }
//...        

You can specify this property in XAML.

<Window
      xmlns:dxrud="http://schemas.devexpress.com/winfx/2008/xaml/reports/userdesigner">
      ... 
      <dxrud:ReportDesigner ShowPreviewTab="False"/>
</Window>
See Also