alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class HeaderTemplateModel

    Represents the data context for the header template of a query group in the SfQueryBuilder<TValue>.

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

    This model provides the necessary information to customize the header of a group, including its ID, condition, and lock state.

    Constructors

    HeaderTemplateModel()

    Declaration
    public HeaderTemplateModel()

    Properties

    Condition

    Gets or sets the logical condition for the group.

    Declaration
    public string Condition { get; set; }
    Property Value
    Type Description
    string

    A string that specifies the logical operator (e.g., "AND", "OR") connecting the rules within the group.

    Remarks

    This property determines how the rules and sub-groups within this group are evaluated.

    ID

    Gets or sets the unique identifier for the group.

    Declaration
    public string ID { get; set; }
    Property Value
    Type Description
    string

    A string representing the group's unique ID.

    Remarks

    This ID is used to distinguish between different groups in the SfQueryBuilder<TValue>.

    IsLocked

    Gets or sets a value indicating whether the group is locked.

    Declaration
    public bool IsLocked { get; set; }
    Property Value
    Type Description
    bool

    A bool. If true, the group cannot be modified by the user. The default is false.

    Remarks

    A locked group prevents users from adding, removing, or changing rules and conditions within it.

    Not

    Gets or sets a value indicating whether to apply a 'NOT' condition to the entire group.

    Declaration
    public bool? Not { get; set; }
    Property Value
    Type Description
    bool?

    A bool?. If true, a 'NOT' condition is applied to the group. The default is false.

    Remarks

    When set to true, the entire group's result is inverted.

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