ObservableGroup<TKey,TValue> Class
Definition
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>.
public sealed class ObservableGroup<TKey,TValue> : System.Collections.ObjectModel.ObservableCollection<TValue>, Microsoft.Toolkit.Collections.IReadOnlyObservableGroup, System.Collections.Generic.IEnumerable<TValue>, System.Linq.IGrouping<TKey,TValue>
public class ObservableGroup<TKey,TValue> : System.Collections.ObjectModel.ObservableCollection<TValue>, Microsoft.Toolkit.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 NotInheritable Class ObservableGroup(Of TKey, TValue)
Inherits ObservableCollection(Of TValue)
Implements IEnumerable(Of TValue), IGrouping(Of TKey, TValue), IReadOnlyObservableGroup
Public Class ObservableGroup(Of TKey, TValue)
Inherits ObservableCollection(Of TValue)
Implements IEnumerable(Of TValue), IGrouping(Of TKey, TValue), IReadOnlyObservableGroup
Type Parameters
- 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>
Constructors
| ObservableGroup<TKey,TValue>(IGrouping<TKey,TValue>) |
Initializes a new instance of the ObservableGroup<TKey,TValue> class. |
| ObservableGroup<TKey,TValue>(TKey, IEnumerable<TValue>) |
Initializes a new instance of the ObservableGroup<TKey,TValue> class. |
| ObservableGroup<TKey,TValue>(TKey) |
Initializes a new instance of the ObservableGroup<TKey,TValue> class. |
Properties
| Key |
Gets or sets the key of the group. |
Explicit Interface Implementations
| IReadOnlyObservableGroup.Key |