DxReportDesignerWizardSettings.ReportWizardTemplatesSearchBoxVisibility Property
Specifies whether to display the search box on the Select Report Type page.
Namespace: DevExpress.Blazor.Reporting
Assembly: DevExpress.Blazor.Reporting.v24.1.JSBasedControls.Common.dll
NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls.Common
Declaration
[Parameter]
public SearchBoxVisibility ReportWizardTemplatesSearchBoxVisibility { get; set; }
Property Value
Type | Description |
---|---|
SearchBoxVisibility | The SearchBoxVisibility enumeration member that specifies whether to display the report template search box. |
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. |
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 ReportWizardCustomizationService to manage template items shown on the Select Report Type page.
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()