Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WebDocumentViewerSearchSettings.SearchEnabled Property

Allows you to hide search actions.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.2.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

#Declaration

[DefaultValue(true)]
public bool SearchEnabled { get; set; }

#Property Value

Type Default Description
Boolean true

true to show search actions; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Library Object Type Path to SearchEnabled
.NET Reporting Tools ASPxWebDocumentViewer
.SettingsSearch .SearchEnabled
ReportPreviewSettings
.SettingsSearch .SearchEnabled
ASP.NET MVC Extensions WebDocumentViewerSettings
.SettingsSearch .SearchEnabled

#Remarks

The property’s default value is true:

Web Document Viewer - Enable Search Action

Set the SearchEnabled property to false to hide search actions:

Web Document Viewer - Disable Search Action

See Also