New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Constructors

C#
public ColumnGroupDescriptor()

Fields

ColumnProperty

DependencyProperty

The backing DependencyProperty storage for the Column property.

C#
public static readonly DependencyProperty ColumnProperty

Properties

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

C#
public GridViewColumn Column { get; set; }
Property Value:

The column that will be used for grouping.

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

C#
public override object DisplayContent { get; set; }

Overrides: GroupDescriptorBase.DisplayContent

Methods

Creates a group expression that returns the grouping key for each item in a collection.

C#
protected override Expression CreateGroupKeyExpression(ParameterExpression parameterExpression)
Parameters:parameterExpressionParameterExpression

The parameter expression, which will be used for grouping.

Returns:

Expression

Expression that creates group key for the given item.

Overrides: GroupDescriptorBase.CreateGroupKeyExpression(ParameterExpression)