This topic has not yet been rated - Rate this topic

CollectionViewGroup Class

Represents a group created by a PagedCollectionView object based on its GroupDescriptions.

System.Object
  System.Windows.Data.CollectionViewGroup

Namespace:  System.Windows.Data
Assembly:  System.Windows (in System.Windows.dll)
[TypeForwardedFromAttribute("System.Windows.Data, Version=2.0.5.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
public abstract class CollectionViewGroup : INotifyPropertyChanged

The CollectionViewGroup type exposes the following members.

  Name Description
Protected method Supported by Silverlight for Windows Phone CollectionViewGroup Initializes a new instance of the CollectionViewGroup class with the specified group name.
Top
  Name Description
Public property Supported by Silverlight for Windows Phone IsBottomLevel Gets a value that indicates whether this group has any subgroups.
Public property Supported by Silverlight for Windows Phone ItemCount Gets the number of data items in the subtree under this group.
Public property Supported by Silverlight for Windows Phone Items Gets the items that are immediate children of the group.
Public property Supported by Silverlight for Windows Phone Name Gets the name of this group.
Protected property Supported by Silverlight for Windows Phone ProtectedItemCount Gets or sets the number of data items in the subtree under this group.
Protected property Supported by Silverlight for Windows Phone ProtectedItems Gets the immediate items that are contained in this group.
Top
  Name Description
Public method Supported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone 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.)
Public method Supported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone OnPropertyChanged Raises the PropertyChanged event with the provided arguments.
Public method Supported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  Name Description
Protected event Supported by Silverlight for Windows Phone PropertyChanged Occurs when a property value changes.
Top

When you define groups by using GroupDescriptions, your view object wraps each group in a CollectionViewGroup object.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ