CollectionViewGroup CollectionViewGroup CollectionViewGroup CollectionViewGroup Class

Definition

Represents a group created by a CollectionView object based on the GroupDescriptions.

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

Remarks

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.

XAML Text Usage

You cannot use this class in XAML.

Constructors

CollectionViewGroup(Object) CollectionViewGroup(Object) CollectionViewGroup(Object) CollectionViewGroup(Object)

Initializes a new instance of the CollectionViewGroup class with the name of the group.

Properties

IsBottomLevel IsBottomLevel IsBottomLevel IsBottomLevel

Gets a value that indicates whether this group has any subgroups.

ItemCount ItemCount ItemCount ItemCount

Gets the number of items in the subtree under this group.

Items Items Items Items

Gets the immediate items contained in this group.

Name Name Name Name

Gets the name of this group.

ProtectedItemCount ProtectedItemCount ProtectedItemCount ProtectedItemCount

Gets and sets the number of items in the subtree under this group.

ProtectedItems ProtectedItems ProtectedItems ProtectedItems

Gets the immediate items contained in this group.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnPropertyChanged(PropertyChangedEventArgs) OnPropertyChanged(PropertyChangedEventArgs) OnPropertyChanged(PropertyChangedEventArgs) OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event using the provided arguments.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

PropertyChanged PropertyChanged PropertyChanged PropertyChanged

Occurs when a property value changes.

Explicit Interface Implementations

INotifyPropertyChanged.PropertyChanged INotifyPropertyChanged.PropertyChanged INotifyPropertyChanged.PropertyChanged INotifyPropertyChanged.PropertyChanged

Applies to