Class HeaderTemplateModel
Represents the data context for the header template of a query group in the SfQueryBuilder<TValue>.
Inheritance
Namespace: Syncfusion.Blazor.QueryBuilder
Assembly: Syncfusion.Blazor.dll
Syntax
public class HeaderTemplateModel : Object
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 |
---|---|
System.String | A |
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 |
---|---|
System.String | A |
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 |
---|---|
System.Boolean | A |
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 Nullable<bool> Not { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | A |
Remarks
When set to true
, the entire group's result is inverted.