Table of Contents

Class GroupDescription

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

Base class for group descriptions. A GroupDescription describes how to divide the items in a collection into groups.

public abstract class GroupDescription : INotifyPropertyChanged
Inheritance
GroupDescription
Implements
Derived

Constructors

GroupDescription()

Initializes a new instance of GroupDescription.

Properties

CustomSort

Set a custom comparer to sort groups using an object that implements IComparer.

GroupNames

This list of names is used to initialize a group with a set of subgroups with the given names. (Additional subgroups may be added later, if there are items that don't match any of the names.)

SortDescriptions

Collection of Sort criteria to sort the groups.

Methods

GroupNameFromItem(object, int, CultureInfo)

Return the group name(s) for the given item

NamesMatch(object, object)

Return true if the names match (i.e the item should belong to the group).

OnPropertyChanged(PropertyChangedEventArgs)

A subclass can call this method to raise the PropertyChanged event.

Events

PropertyChanged

PropertyChanged event (per INotifyPropertyChanged).