menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SearchModule - API Reference

    Show / Hide Table of Contents

    Class SearchModule

    Represents the search module in DocumentEditor.

    Inheritance
    System.Object
    SearchModule
    Namespace: Syncfusion.Blazor.DocumentEditor
    Assembly: Syncfusion.Blazor.DocumentEditor.dll
    Syntax
    public class SearchModule : Object

    Constructors

    SearchModule(SfDocumentEditor)

    Initializes a new instance of the SearchModule class. Default constructor for Search.

    Declaration
    public SearchModule(SfDocumentEditor baseComponent)
    Parameters
    Type Name Description
    SfDocumentEditor baseComponent

    An DocumentEdiorComponent instance.

    Properties

    DocumentEditor

    DocumentEdiorComponent instance.

    Declaration
    protected SfDocumentEditor DocumentEditor { get; set; }
    Property Value
    Type Description
    SfDocumentEditor

    SearchResults

    Gets the search results object.

    Declaration
    public SearchResultsModule SearchResults { get; }
    Property Value
    Type Description
    SearchResultsModule

    Returns SearchResultsModule.

    Methods

    FindAllAsync(String, Nullable<FindOption>)

    Finds all occurrence of specified text in the document.

    Declaration
    public Task FindAllAsync(string text, Nullable<FindOption> findOptions = null)
    Parameters
    Type Name Description
    System.String text

    Text to find.

    System.Nullable<FindOption> findOptions

    Find options, refer FindOption.

    Returns
    Type Description
    System.Threading.Tasks.Task

    Returns an asynchronous operation.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved