Interface
IGroupDescriptor

Represents a grouping abstraction that knows how to create group key and group sort expressions.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Syntax:

cs-api-definition
public interface IGroupDescriptor : INotifyPropertyChanged

Inherited Members INotifyPropertyChanged.PropertyChanged

Properties

SortDirection

Gets or sets the sort direction for this descriptor. If the value is null no sorting will be applied.

Declaration

cs-api-definition
ListSortDirection? SortDirection { get; set; }

Property Value

ListSortDirection?

The sort direction. The default value is null.

Methods

CreateGroupKeyExpression(Expression)

Creates a group expression that returns the grouping key for each item in a collection.

Declaration

cs-api-definition
Expression CreateGroupKeyExpression(Expression itemExpression)

Parameters

itemExpression

Expression

Expression representing an item in a collection.

Returns

Expression

Expression that creates group key for the given item.

CreateGroupSortExpression(Expression)

Creates the group order by expression that sorts the groups created from this descriptor.

Declaration

cs-api-definition
Expression CreateGroupSortExpression(Expression groupingExpression)

Parameters

groupingExpression

Expression

The grouping expression, which represents the grouped items created from the CreateGroupKeyExpression(Expression).

Returns

Expression

Expression that represents the sort criteria for each group.