ReadOnlyObservableGroup<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.
A read-only observable group. It associates a Key to a ReadOnlyObservableCollection<T>.
public sealed class ReadOnlyObservableGroup<TKey,TValue> : System.Collections.ObjectModel.ReadOnlyObservableCollection<TValue>, Microsoft.Toolkit.Collections.IReadOnlyObservableGroup, System.Collections.Generic.IEnumerable<TValue>, System.Linq.IGrouping<TKey,TValue>
type ReadOnlyObservableGroup<'Key, 'Value> = class
inherit ReadOnlyObservableCollection<'Value>
interface IGrouping<'Key, 'Value>
interface seq<'Value>
interface IEnumerable
interface IReadOnlyObservableGroup
interface INotifyPropertyChanged
Public NotInheritable Class ReadOnlyObservableGroup(Of TKey, TValue)
Inherits ReadOnlyObservableCollection(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
-
ReadOnlyObservableCollection<TValue>ReadOnlyObservableGroup<TKey,TValue>
- Implements
-
IReadOnlyObservableGroup IEnumerable<TElement> IEnumerable<TValue> IEnumerable INotifyPropertyChanged IGrouping<TKey,TValue>
Constructors
| ReadOnlyObservableGroup<TKey,TValue>(ObservableGroup<TKey,TValue>) |
Initializes a new instance of the ReadOnlyObservableGroup<TKey,TValue> class. |
| ReadOnlyObservableGroup<TKey,TValue>(TKey, IEnumerable<TValue>) |
Initializes a new instance of the ReadOnlyObservableGroup<TKey,TValue> class. |
| ReadOnlyObservableGroup<TKey,TValue>(TKey, ObservableCollection<TValue>) |
Initializes a new instance of the ReadOnlyObservableGroup<TKey,TValue> class. |
Properties
| Key |
Gets the key for the current collection, as an Object. It is immutable. |
Explicit Interface Implementations
| IReadOnlyObservableGroup.Key |