Class GroupDescriptor
Represents group descriptor, which groups by item's Member and sorts the groups by their System.Linq.IGrouping`2.Keys.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class GroupDescriptor : AggregatedGroupDescriptorBase, ISuspendNotifications, IGroupDescriptor, INotifyPropertyChanged, IAggregateFunctionsProvider, IEquatable<GroupDescriptor>
Constructors
GroupDescriptor()
Declaration
public GroupDescriptor()
Fields
MemberProperty
Identifies the Member dependency property.
Declaration
public static readonly DependencyProperty MemberProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Member
Gets or sets the member name which will be used for grouping.
Declaration
public virtual string Member { get; set; }
Property Value
System.String
The member name that will be used for grouping. |
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. Changing this property will not raise System.ComponentModel.INotifyPropertyChanged.PropertyChanged event.
Declaration
public virtual Type MemberType { get; set; }
Property Value
System.Type
The type of the member used for grouping. |
Methods
CreateGroupKeyExpression(ParameterExpression)
Creates a group expression that returns the grouping key for each item in a collection.
Declaration
protected override Expression CreateGroupKeyExpression(ParameterExpression parameterExpression)
Parameters
System.Linq.Expressions.ParameterExpression
parameterExpression
The parameter expression, which will be used for grouping. |
Returns
System.Linq.Expressions.Expression
Expression that creates group key for the given item. |
Overrides
Equals(GroupDescriptor)
Determines whether the specified other
descriptor
is equal to the current one.
Declaration
public virtual bool Equals(GroupDescriptor other)
Parameters
GroupDescriptor
other
The other group descriptor. |
Returns
System.Boolean
True if all members of the current descriptor are
equal to the ones of |