Interface IGroupDescriptor
Represents a grouping abstraction that knows how to create group key and group sort expressions.
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public interface IGroupDescriptor : INotifyPropertyChanged
Properties
SortDirection
Gets or sets the sort direction for this descriptor. If the value is null no sorting will be applied.
Declaration
Nullable<ListSortDirection> SortDirection { get; set; }
Property Value
System. 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
Expression CreateGroupKeyExpression(Expression itemExpression)
Parameters
System. Expression representing an item in a collection. |
Returns
System. 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
Expression CreateGroupSortExpression(Expression groupingExpression)
Parameters
System. The grouping expression, which represents the grouped items
created from the Create |
Returns
System. Expression that represents the sort criteria for each group. |