GroupDescriptor
Defines the fields and display format used to build one level of a collection view's grouping hierarchy.
Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Syntax:
public class GroupDescriptor : INotifyPropertyChanged
Inheritance: objectGroupDescriptor
Derived Classes:
Implements:
Constructors
Initializes an empty grouping descriptor with the default group-row format.
public GroupDescriptor()
Initializes one grouping level from the specified group-name descriptors.
public GroupDescriptor(params SortDescriptor[] sortDescriptions)
The fields and sort directions that form the group key at this level.
Initializes a grouping descriptor from an expression and a group-row format.
Initializes a grouping descriptor from an expression that identifies its group fields.
public GroupDescriptor(string expression)
The expression assigned to the descriptor's group names.
Properties
Gets the collection of aggregate strings associated with this grouping level.
[Browsable(false)]
public StringCollection Aggregates { get; }
The aggregates.
Gets or sets the expression.
[Browsable(true)]
public virtual string Expression { get; set; }
The expression.
Gets or sets the format.
public string Format { get; set; }
The format.
Gets the group names.
[Browsable(true)]
public SortDescriptorCollection GroupNames { get; }
The group names.
Gets the collection that currently owns this descriptor.
[Browsable(false)]
public GroupDescriptorCollection Owner { get; }
The collection assigns this reference when the descriptor is added and clears it when removed.
Methods
Raises the PropertyChanged event
protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
A PropertyChangedEventArgs instance containing event data.
Raises the PropertyChanged event
protected void OnPropertyChanged(string propertyName)
The name of the property
Events
Occurs when the format, expression, or group-name collection changes.
public event PropertyChangedEventHandler PropertyChanged
Implements: