ObservableGroup<TKey,TValue> Class

Definition

An observable group. It associates a Key to an ObservableCollection<T>.

C#
public class ObservableGroup<TKey,TValue> : System.Collections.ObjectModel.ObservableCollection<TValue>, CommunityToolkit.Common.Collections.IReadOnlyObservableGroup, System.Collections.Generic.IEnumerable<TValue>, System.Linq.IGrouping<TKey,TValue>

Type Parameters

TKey

The type of the group key.

TValue

The type of the items in the collection.

Inheritance
ObservableGroup<TKey,TValue>
Implements

Constructors

Properties

Key

Gets or sets the key of the group.

Explicit Interface Implementations

Applies to

Product Versions
Windows Community Toolkit 7.0.0