ClassGroupDescriptor
Represents grouping criteria.
Definition
Namespace:Telerik.DataSource
Assembly:Telerik.DataSource.dll
Syntax:
public class GroupDescriptor : SortDescriptor
Inheritance: objectJsonObjectSortDescriptorGroupDescriptor
Inherited Members
Constructors
GroupDescriptor()
Declaration
public GroupDescriptor()
Properties
AggregateFunctions
Gets the aggregate functions used when grouping is executed.
Declaration
public AggregateFunctionCollection AggregateFunctions { get; }
Property Value
The aggregate functions that will be used in grouping.
DisplayContent
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.
Declaration
[JsonConverter(typeof(ObjectConverter))]
public object DisplayContent { get; set; }
Property Value
MemberType
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.
Declaration
[JsonIgnore]
public Type MemberType { get; set; }
Property Value
The type of the member used for grouping.
Methods
CycleSortDirection()
Changes the SortDescriptor to the next logical value.
Declaration
public void CycleSortDirection()
Serialize(IDictionary<string, object>)
for internal use
Declaration
protected override void Serialize(IDictionary<string, object> json)
Parameters
json
Overrides