menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class OperatorsModel - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class OperatorsModel

    Defines the operator for a query rule in the Syncfusion.Blazor.QueryBuilder.

    Inheritance
    System.Object
    OperatorsModel
    Namespace: Syncfusion.Blazor.QueryBuilder
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class OperatorsModel : Object
    Remarks

    This model is used to populate the list of available operators for a given column type, such as 'equals', 'contains', or 'greater than'.

    Constructors

    OperatorsModel()

    Declaration
    public OperatorsModel()

    Properties

    Text

    Gets or sets the display text for the operator.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the user-friendly label for the operator (e.g., "Equals"). The default value is null.

    Remarks

    This text is displayed in the operator dropdown list in the user interface.

    Value

    Gets or sets the actual value of the operator.

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    System.String

    A string that represents the operator's value, which is used in constructing the query (e.g., "equal"). The default value is null.

    Remarks

    This value is used internally to identify the selected operator.

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