New to Telerik UI for BlazorStart a free 30-day trial

Represents grouping criteria.

Definition

Namespace:Telerik.DataSource

Assembly:Telerik.DataSource.dll

Syntax:

C#
public class GroupDescriptor : SortDescriptor

Inheritance: objectJsonObjectSortDescriptorGroupDescriptor

Inherited Members SortDescriptor.Deserialize(string)SortDescriptor.Serialize()SortDescriptor.MemberSortDescriptor.SortDirectionSortDescriptor.SortCompareJsonObject.ToJson()...

Constructors

C#
public GroupDescriptor()

Methods

Changes the SortDescriptor to the next logical value.

C#
public void CycleSortDirection()

for internal use

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: SortDescriptor.Serialize(IDictionary<string, object>)

Properties

Gets the aggregate functions used when grouping is executed.

C#
public AggregateFunctionCollection AggregateFunctions { get; }
Property Value:

The aggregate functions that will be used in grouping.

Gets or sets the content which will be used from UI. Usually this is the indicator that the the component is grouped by this field and it defaults to the field name. You can define your own string to show there.

C#
[JsonConverter(typeof(ObjectConverter))]
public object DisplayContent { get; set; }

Gets or sets the type of the member that is used for grouping. Set this property if the member type cannot be resolved automatically. Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow.

C#
[JsonIgnore]
public Type MemberType { get; set; }
Property Value:

The type of the member used for grouping.