ReportDesignerWizardSettings.ReportWizardTemplatesSearchBoxVisibility Property
Specifies whether to display the search box on the Select Report Type page.
Namespace: DevExpress.XtraReports.Web.ReportDesigner
Assembly: DevExpress.XtraReports.v24.2.Web.WebForms.dll
NuGet Package: DevExpress.Web.Reporting
#Declaration
[DefaultValue(SearchBoxVisibility.Auto)]
public SearchBoxVisibility ReportWizardTemplatesSearchBoxVisibility { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Search |
Auto | The Search |
Available values:
Name | Description |
---|---|
Auto | The search box is displayed automatically depending on the number of report items shown. |
Always | The search box is always displayed. |
Never | The search box is always hidden. |
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Report |
---|---|---|
.NET Reporting Tools | ASPx |
|
ASP. |
Report |
|
#Remarks
The ReportWizardTemplatesSearchBoxVisibility
property allows you to show or hide the search box at the top of the Select Report Type page in the Report Wizard. The following image shows the wizard page with the search box highlighted:
Tip
You can use the Report
The following code hides the search box on the wizard page that displays report templates:
var designerRender = Html.DevExpress().ReportDesigner("reportDesigner")
.Height("100%")
.WizardSettings(s => s.ReportWizardTemplatesSearchBoxVisibility =
DevExpress.XtraReports.Web.ReportDesigner.DataContracts.SearchBoxVisibility.Always)
.Bind("TestReport");
@designerRender.RenderHtml()