Class
ColumnGroupDescriptor

Represents a group descriptor, which groups and sorts by the value of its Column.

Definition

Namespace:Telerik.Windows.Controls.GridView

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class ColumnGroupDescriptor : GroupDescriptorBase, ISuspendNotifications, IGroupDescriptor, INotifyPropertyChanged, IAggregateFunctionsProvider

Inheritance: objectInheritanceContextPropagatorDescriptorBaseGroupDescriptorBaseColumnGroupDescriptor

Implements: IAggregateFunctionsProviderIGroupDescriptorINotifyPropertyChangedISuspendNotifications

Inherited Members GroupDescriptorBase.DisplayContentPropertyGroupDescriptorBase.CreateGroupKeyExpression(Expression)GroupDescriptorBase.CreateGroupSortExpression(Expression)GroupDescriptorBase.CycleSortDirection()GroupDescriptorBase.SortDirectionDescriptorBase.OnPropertyChanged(PropertyChangedEventArgs)DescriptorBase.OnPropertyChanged(string)DescriptorBase.SuspendNotifications()DescriptorBase.ResumeNotifications()DescriptorBase.NotificationsSuspendedDescriptorBase.PropertyChangedInheritanceContextPropagator.CreateInstanceCore()InheritanceContextPropagator.FreezeCore(bool)

Constructors

ColumnGroupDescriptor()

Declaration

cs-api-definition
public ColumnGroupDescriptor()

Fields

ColumnProperty

The backing DependencyProperty storage for the Column property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnProperty

Field Value

DependencyProperty

Properties

Column

Gets or sets the column that will be used for grouping.

Declaration

cs-api-definition
public GridViewColumn Column { get; set; }

Property Value

GridViewColumn

The column that will be used for grouping.

DisplayContent

Gets or sets the content which will be used to visually represent this descriptor.

Declaration

cs-api-definition
public override object DisplayContent { get; set; }

Property Value

object

Overrides GroupDescriptorBase.DisplayContent

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)