ObservableGroup<TKey,TValue> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ObservableGroup<'Key, 'Value> = class
inherit ObservableCollection<'Value>
interface IGrouping<'Key, 'Value>
interface seq<'Value>
interface IEnumerable
interface IReadOnlyObservableGroup
interface INotifyPropertyChanged
Public Class ObservableGroup(Of TKey, TValue)
Inherits ObservableCollection(Of TValue)
Implements IEnumerable(Of TValue), IGrouping(Of TKey, TValue), IReadOnlyObservableGroup
- TKey
The type of the group key.
- TValue
The type of the items in the collection.
- Inheritance
-
ObservableCollection<TValue>ObservableGroup<TKey,TValue>
- Implements
-
IReadOnlyObservableGroup IEnumerable<TElement> IEnumerable<TValue> IEnumerable INotifyPropertyChanged IGrouping<TKey,TValue>
Observable |
Initializes a new instance of the ObservableGroup<TKey,TValue> class. |
Observable |
Initializes a new instance of the ObservableGroup<TKey,TValue> class. |
Observable |
Initializes a new instance of the ObservableGroup<TKey,TValue> class. |
Key |
Gets or sets the key of the group. |
Product | Versions |
---|---|
Windows Community Toolkit | 7.0.0 |