Class
GroupDescriptor

Represents group descriptor, which groups by item's Member and sorts the groups by their Keys.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Syntax:

cs-api-definition
public class GroupDescriptor : AggregatedGroupDescriptorBase, ISuspendNotifications, IGroupDescriptor, INotifyPropertyChanged, IAggregateFunctionsProvider, IEquatable<GroupDescriptor>

Inheritance: objectInheritanceContextPropagatorDescriptorBaseGroupDescriptorBaseAggregatedGroupDescriptorBaseGroupDescriptor

Implements: IAggregateFunctionsProviderIEquatable<GroupDescriptor>IGroupDescriptorINotifyPropertyChangedISuspendNotifications

Inherited Members AggregatedGroupDescriptorBase.AggregateFunctionsPropertyAggregatedGroupDescriptorBase.AggregateFunctionsGroupDescriptorBase.DisplayContentPropertyGroupDescriptorBase.CreateGroupKeyExpression(Expression)GroupDescriptorBase.CreateGroupSortExpression(Expression)GroupDescriptorBase.CycleSortDirection()GroupDescriptorBase.SortDirectionGroupDescriptorBase.DisplayContentDescriptorBase.OnPropertyChanged(PropertyChangedEventArgs)DescriptorBase.OnPropertyChanged(string)DescriptorBase.SuspendNotifications()DescriptorBase.ResumeNotifications()DescriptorBase.NotificationsSuspendedDescriptorBase.PropertyChangedInheritanceContextPropagator.CreateInstanceCore()InheritanceContextPropagator.FreezeCore(bool)

Constructors

GroupDescriptor()

Declaration

cs-api-definition
public GroupDescriptor()

Fields

MemberProperty

Identifies the Member dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MemberProperty

Field Value

DependencyProperty

Properties

Member

Gets or sets the member name which will be used for grouping.

Declaration

cs-api-definition
public virtual string Member { get; set; }

Property Value

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 PropertyChanged event.

Declaration

cs-api-definition
public virtual Type MemberType { get; set; }

Property Value

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

cs-api-definition
protected override Expression CreateGroupKeyExpression(ParameterExpression parameterExpression)

Parameters

parameterExpression

ParameterExpression

The parameter expression, which will be used for grouping.

Returns

Expression

Expression that creates group key for the given item.

Overrides GroupDescriptorBase.CreateGroupKeyExpression(ParameterExpression)

Equals(GroupDescriptor)

Determines whether the specified other descriptor is equal to the current one.

Declaration

cs-api-definition
public virtual bool Equals(GroupDescriptor other)

Parameters

other

GroupDescriptor

The other group descriptor.

Returns

bool

True if all members of the current descriptor are equal to the ones of other, otherwise false.

Implements IEquatable<GroupDescriptor>.Equals(GroupDescriptor)