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.v25.1.dll
NuGet Package: DevExpress.Wpf.Reporting
Declaration
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.

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