Edit

Share via


GroupDescription Class

Definition

Provides an abstract base class for types that describe how to divide the items in a collection into groups.

public ref class GroupDescription abstract : System::ComponentModel::INotifyPropertyChanged
public abstract class GroupDescription : System.ComponentModel.INotifyPropertyChanged
type GroupDescription = class
    interface INotifyPropertyChanged
Public MustInherit Class GroupDescription
Implements INotifyPropertyChanged
Inheritance
GroupDescription
Derived
Implements

Constructors

GroupDescription()

Initializes a new instance of the GroupDescription class.

Properties

CustomSort

Gets or sets a custom comparer that sorts groups using an object that implements IComparer.

GroupNames

Gets the collection of names that are used to initialize a group with a set of subgroups with the given names.

SortDescriptions

Gets the collection of sort criteria in which to sort the groups.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GroupNameFromItem(Object, Int32, CultureInfo)

Returns the group name(s) for the given item.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
NamesMatch(Object, Object)

Returns a value that indicates whether the group name and the item name match such that the item belongs to the group.

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

ShouldSerializeGroupNames()

Returns whether serialization processes should serialize the effective value of the GroupNames property on instances of this class.

ShouldSerializeSortDescriptions()

Returns whether serialization processes should serialize the effective value of the SortDescriptions property on instances of this class.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

PropertyChanged

Occurs when a property value changes.

Explicit Interface Implementations

INotifyPropertyChanged.PropertyChanged

Occurs when a property value changes.

Applies to