CollectionViewGroup Class

 

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

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

System.Object
  System.Windows.Data.CollectionViewGroup

[<AbstractClass>]
type CollectionViewGroup = 
    class
        interface INotifyPropertyChanged
    end

NameDescription
System_CAPS_protmethodCollectionViewGroup(Object)

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

NameDescription
System_CAPS_pubpropertyIsBottomLevel

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

System_CAPS_pubpropertyItemCount

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

System_CAPS_pubpropertyItems

Gets the immediate items contained in this group.

System_CAPS_pubpropertyName

Gets the name of this group.

System_CAPS_protpropertyProtectedItemCount

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

System_CAPS_protpropertyProtectedItems

Gets the immediate items contained in this group.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event using the provided arguments.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_proteventPropertyChanged

Occurs when a property value changes.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_priveventINotifyPropertyChanged.PropertyChanged

Occurs when a property value changes.

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.

You cannot use this class in XAML.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.1

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

Return to top
Show: