ערוך

שתף באמצעות


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
CollectionViewGroup
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)

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

Properties

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 or sets the number of items in the subtree under this group.

ProtectedItems

Gets the immediate items contained in this group.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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(PropertyChangedEventArgs)

Raises the PropertyChanged event using the provided arguments.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

PropertyChanged

Occurs when a property value changes.

Explicit Interface Implementations

INotifyPropertyChanged.PropertyChanged

Occurs when a property value changes.

Applies to