CollectionViewGroup Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Represents a group created by a CollectionViewSource object based on its GroupDescriptions.
Assembly: System.Windows (in System.Windows.dll)
The CollectionViewGroup type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CollectionViewGroup | Initializes a new instance of the CollectionViewGroup class with the specified group name. |
| Name | Description | |
|---|---|---|
![]() | IsBottomLevel | Gets a value that indicates whether this group has any subgroups. |
![]() | ItemCount | Gets the number of data items in the subtree under this group. |
![]() | Items | Gets the items that are immediate children of the group. |
![]() | Name | Gets the name of this group. |
![]() | ProtectedItemCount | Gets or sets the number of data items in the subtree under this group. |
![]() | ProtectedItems | Gets the immediate items that are 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 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.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnPropertyChanged | Raises the PropertyChanged event with the provided arguments. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | INotifyPropertyChanged::PropertyChanged | For a description of this member, see INotifyPropertyChanged::PropertyChanged. |
When you define groups by using GroupDescriptions, your view object wraps each group in a CollectionViewGroup object.
Show:






