GroupDescription Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Provides a base class for defining how to divide the items in a collection into groups.

Inheritance Hierarchy

System..::.Object
  System.ComponentModel..::.GroupDescription
    System.Windows.Data..::.PropertyGroupDescription

Namespace:  System.ComponentModel
Assembly:  System.Windows (in System.Windows.dll)

Syntax

Public MustInherit Class GroupDescription _
    Implements INotifyPropertyChanged
public abstract class GroupDescription : INotifyPropertyChanged

The GroupDescription type exposes the following members.

Constructors

  Name Description
GroupDescription Initializes a new instance of the GroupDescription class.

Top

Properties

  Name Description
GroupNames Gets the collection of group names.

Top

Methods

  Name Description
Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
GetType Gets the Type of the current instance. (Inherited from Object.)
GroupNameFromItem Returns the group name or names for the specified item.
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
NamesMatch Indicates whether the specified item belongs in the specified group.
OnPropertyChanged Raises the PropertyChanged event.
ShouldSerializeGroupNames Indicates whether the group names should be serialized.
ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
PropertyChanged Occurs when a property value has changed.

Top

Explicit Interface Implementations

  Name Description
INotifyPropertyChanged..::.PropertyChanged For a description of this member, see PropertyChanged.

Top

Remarks

This type is used by the ICollectionView..::.GroupDescriptions and CollectionViewSource..::.GroupDescriptions properties.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.ComponentModel Namespace

ICollectionView

ICollectionView..::.GroupDescriptions