alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SearchRequest

    Represents a search definition requested by the grid.

    Inheritance
    object
    SearchRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.Grids.dll
    Syntax
    public class SearchRequest
    Remarks

    Instances of this class are provided through Search and describe the search criteria that should be applied before returning records to the grid.

    Constructors

    SearchRequest()

    Declaration
    public SearchRequest()

    Properties

    Fields

    Gets or sets the fields included in the search operation.

    Declaration
    [JsonPropertyName("fields")]
    public List<string>? Fields { get; set; }
    Property Value
    Type Description
    List<string>

    A List<T> containing field names to search, or null when no fields are specified.

    IgnoreAccent

    Gets or sets a value indicating whether accent marks and diacritic characters are ignored during search operations.

    Declaration
    [JsonPropertyName("ignoreAccent")]
    public bool IgnoreAccent { get; set; }
    Property Value
    Type Description
    bool

    true to treat accented and unaccented characters as equivalent; otherwise, false.

    Remarks

    Enable this option to improve search behavior for multilingual datasets where users may omit accent marks.

    IgnoreCase

    Gets or sets a value indicating whether the search ignores character casing.

    Declaration
    [JsonPropertyName("ignoreCase")]
    public bool IgnoreCase { get; set; }
    Property Value
    Type Description
    bool

    true to perform a case-insensitive search; otherwise, false.

    Key

    Gets or sets the search text.

    Declaration
    [JsonPropertyName("key")]
    public string? Key { get; set; }
    Property Value
    Type Description
    string

    A string representing the value to search for, or null when no search value is specified.

    Operator

    Gets or sets the search operator.

    Declaration
    [JsonPropertyName("operator")]
    public string? Operator { get; set; }
    Property Value
    Type Description
    string

    A string representing the search comparison operator, or null when the default operator is used.

    Remarks

    Common operators include contains, startswith, and endswith.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved