ClassGroupDescriptor
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Syntax:
public class GroupDescriptor : AggregatedGroupDescriptorBase, ISuspendNotifications, IGroupDescriptor, INotifyPropertyChanged, IAggregateFunctionsProvider, IEquatable<GroupDescriptor>
Inheritance: objectInheritanceContextPropagatorDescriptorBaseGroupDescriptorBaseAggregatedGroupDescriptorBaseGroupDescriptor
Implements:
Inherited Members
Constructors
GroupDescriptor()
Declaration
public GroupDescriptor()
Fields
MemberProperty
Identifies the Member dependency property.
Declaration
public static readonly DependencyProperty MemberProperty
Field Value
DependencyProperty
Properties
Member
Gets or sets the member name which will be used for grouping.
Declaration
public virtual string Member { get; set; }
Property Value
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 PropertyChanged event.
Declaration
public virtual Type MemberType { get; set; }
Property Value
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
parameterExpression
The parameter expression, which will be used for grouping.
Returns
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
other
The other group descriptor.
Returns
True if all members of the current descriptor are
equal to the ones of other, otherwise false.
Implements