Skip to main content

WebDocumentViewerSettings.SettingsSearch Property

Allows you to specify the Web Document Viewer‘s search settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public WebDocumentViewerSearchSettings SettingsSearch { get; }

Property Value

Type Description
WebDocumentViewerSearchSettings

An object that specifies the search settings.

Remarks

The SettingsSearch property allows you to hide search actions or disable asynchronous search for the Web Document Viewer.

This property provides access to the following properties:

SearchEnabled
Allows you to hide search actions.
UseAsyncSearch
Specifies whether the Web Document Viewer uses asynchronous search.

The following code snippet shows how to hide search actions in ASP.NET MVC applications:

@Html.DevExpress().WebDocumentViewer(settings => {
    settings.Name = "WebDocumentViewer1";
    settings.SettingsSearch.UseAsyncSearch = false;
}).Bind("TestReport").GetHtml()
See Also