This documentation is archived and is not being maintained.
CollectionViewGroup Class
Visual Studio 2010
Represents a group created by a CollectionView object based on the GroupDescriptions.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
The CollectionViewGroup type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CollectionViewGroup | Initializes a new instance of the CollectionViewGroup class with the name of the group. |
| Name | Description | |
|---|---|---|
![]() | IsBottomLevel | Gets a value that indicates whether this group has any subgroups. |
![]() | ItemCount | Gets the number of items in the subtree under this group. |
![]() | Items | Gets the immediate items contained in this group. |
![]() | Name | Gets the name of this group. |
![]() | ProtectedItemCount | Gets and sets the number of items in the subtree under this group. |
![]() | ProtectedItems | Gets the immediate items contained in this group. |
| 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 it 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.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnPropertyChanged | Raises the PropertyChanged event using the provided arguments. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
When you define groups using the GroupDescriptions, your view object (a CollectionViewSource object or an object that derives from CollectionView) wraps each group in a CollectionViewGroup object.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:


