Skip to main content

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