Class GroupTemplateContext
Represents the context for the group template, providing information about grouped data.
Inheritance
Namespace: Syncfusion.Blazor.MultiColumnComboBox
Assembly: Syncfusion.Blazor.dll
Syntax
public class GroupTemplateContext : Object
Constructors
GroupTemplateContext()
Declaration
public GroupTemplateContext()
Properties
Count
Gets the total number of items in the current group.
Declaration
public int Count { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The total number of items in the group as an integer. |
Remarks
This property returns the count of items within the group, which is useful for displaying aggregated data or group headers.
Field
Gets the field name by which the data is grouped.
Declaration
public string Field { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the field used for grouping as a string. |
Remarks
This property returns the name of the field used for grouping, which helps identify the criteria used for grouping the items.
HeaderText
Gets the header text displayed for the current group.
Declaration
public string HeaderText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text to be displayed as the group header as a string. |
Remarks
This property provides the header text that is displayed in the UI for each group, offering a way to label the grouped data.
Key
Gets the key value that represents the unique identifier for the current group.
Declaration
public string Key { get; set; }
Property Value
Type | Description |
---|---|
System.String | The unique key for the group as a string. |
Remarks
This property returns the key used to identify the group, which helps in distinguishing between different groups.