Back to Devexpress

ReportPrintTool.AutoShowParametersPanel Property

windowsforms-devexpress-dot-xtrareports-dot-ui-dot-reportprinttool-5c95772d.md

latest3.9 KB
Original Source

ReportPrintTool.AutoShowParametersPanel Property

Specifies whether the Parameters panel is visible in the Print Preview window.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraPrinting.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
public bool AutoShowParametersPanel { get; set; }
vb
Public Property AutoShowParametersPanel As Boolean

Property Value

TypeDescription
Boolean

true to always show the Parameters UI; otherwise false.

|

Remarks

Use the AutoShowParametersPanel property to show or hide the Parameters panel irrespective of which Preview form is used (standard, Ribbon, or custom).

For more information, see Using Report Parameters.

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

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-winforms-best-fit-table-row-height/CS/dx_sample/Form1.cs#L22

csharp
ReportPrintTool pt = new ReportPrintTool(x);
pt.AutoShowParametersPanel = true;
pt.ShowPreviewDialog();

reporting-winforms-add-report-parameters/CS/ReportParameterExample/Form1.cs#L46

csharp
ReportPrintTool pt = new ReportPrintTool(report);
pt.AutoShowParametersPanel = true;
pt.ShowPreviewDialog();

reporting-winforms-best-fit-table-row-height/VB/dx_sample/Form1.vb#L24

vb
Dim pt As New ReportPrintTool(x)
pt.AutoShowParametersPanel = True
pt.ShowPreviewDialog()

reporting-winforms-add-report-parameters/VB/ReportParameterExample/Form1.vb#L42

vb
Dim pt As ReportPrintTool = New ReportPrintTool(report)
pt.AutoShowParametersPanel = True
pt.ShowPreviewDialog()

See Also

Use Report Parameters

ReportPrintTool Class

ReportPrintTool Members

DevExpress.XtraReports.UI Namespace