SearchSettingsBuilder Class
A builder for search settings.
Namespace: DevExpress.AspNetCore.RichEdit
Assembly: DevExpress.AspNetCore.RichEdit.v24.2.dll
Declaration
public class SearchSettingsBuilder
Related API Members
The following members return SearchSettingsBuilder objects:
Remarks
The search panel and the Find and Replace dialog allow users to locate and modify text in a document opened in the Rich Text Editor. You can filter search results to prevent users from modifying certain document intervals. The example below demonstrates how to exclude intervals that contain fields from search results:
<script>
function displaySearchResult(subDocument, interval) {
return subDocument.fields.find(interval).length == 0;
}
</script>
@(Html.DevExpress().RichEdit("RichEdit")
.Search(searchSettings => {
searchSettings.FilterInterval("displaySearchResult");
})
// ...
)
Inheritance
Object
SearchSettingsBuilder
See Also