Edit

Share via


ReadOnlyObservableGroupedCollection<TKey,TValue> Class

Definition

A read-only list of groups.

public sealed class ReadOnlyObservableGroupedCollection<TKey,TValue> : System.Collections.ObjectModel.ReadOnlyObservableCollection<CommunityToolkit.Common.Collections.ReadOnlyObservableGroup<TKey,TValue>>
type ReadOnlyObservableGroupedCollection<'Key, 'Value> = class
    inherit ReadOnlyObservableCollection<ReadOnlyObservableGroup<'Key, 'Value>>
Public NotInheritable Class ReadOnlyObservableGroupedCollection(Of TKey, TValue)
Inherits ReadOnlyObservableCollection(Of ReadOnlyObservableGroup(Of TKey, TValue))

Type Parameters

TKey

The type of the group key.

TValue

The type of the items in the collection.

Inheritance
ReadOnlyObservableGroupedCollection<TKey,TValue>

Constructors

ReadOnlyObservableGroupedCollection<TKey,TValue>(IEnumerable<IGrouping<TKey,TValue>>)

Initializes a new instance of the ReadOnlyObservableGroupedCollection<TKey,TValue> class.

ReadOnlyObservableGroupedCollection<TKey,TValue>(IEnumerable<ReadOnlyObservableGroup<TKey,TValue>>)

Initializes a new instance of the ReadOnlyObservableGroupedCollection<TKey,TValue> class.

ReadOnlyObservableGroupedCollection<TKey,TValue>(ObservableGroupedCollection<TKey,TValue>)

Initializes a new instance of the ReadOnlyObservableGroupedCollection<TKey,TValue> class.

Applies to