Skip to content

GroupedReactiveView class

Attributes: [DefaultMember("Item")] [DebuggerDisplay("GroupedReactiveView: {Count}")]

Defined in

Namespace: ReactiveList.Reactive.Views Assembly: ReactiveList.Reactive.dll Full name: ReactiveList.Reactive.Views.GroupedReactiveView<T1, T2> Modifiers: public sealed

Summary

View source (opens in a new tab)

Provides a grouped view over a IReactiveList that automatically updates when the source list changes.

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Class hierarchy
classDiagram
class GroupedReactiveView~T1,T2~
class IReadOnlyDictionary~TKey, IReadOnlyList~T~~ {
    <>
}
IReadOnlyDictionary~TKey, IReadOnlyList~T~~ <|.. GroupedReactiveView~T1,T2~
class IEnumerable~KeyValuePair~TKey, IReadOnlyList~T~~~ {
    <>
}
IEnumerable~KeyValuePair~TKey, IReadOnlyList~T~~~ <|.. GroupedReactiveView~T1,T2~
class IEnumerable {
    <>
}
IEnumerable <|.. GroupedReactiveView~T1,T2~
class IReadOnlyCollection~KeyValuePair~TKey, IReadOnlyList~T~~~ {
    <>
}
IReadOnlyCollection~KeyValuePair~TKey, IReadOnlyList~T~~~ <|.. GroupedReactiveView~T1,T2~
class INotifyCollectionChanged {
    <>
}
INotifyCollectionChanged <|.. GroupedReactiveView~T1,T2~
class INotifyPropertyChanged {
    <>
}
INotifyPropertyChanged <|.. GroupedReactiveView~T1,T2~
class IReactiveView~GroupedReactiveView~T, TKey~, ReactiveGroup~TKey, T~~ {
    <>
}
IReactiveView~GroupedReactiveView~T, TKey~, ReactiveGroup~TKey, T~~ <|.. GroupedReactiveView~T1,T2~
class IDisposable {
    <>
}
IDisposable <|.. GroupedReactiveView~T1,T2~

Implements: IReadOnlyDictionary> (opens in a new tab), IEnumerable>> (opens in a new tab), IEnumerable (opens in a new tab), IReadOnlyCollection>> (opens in a new tab), INotifyCollectionChanged (opens in a new tab), INotifyPropertyChanged (opens in a new tab), IReactiveView, ReactiveGroup>, IDisposable (opens in a new tab)

Constructors

NameSummary
.ctorInitializes a new instance of the GroupedReactiveView class.

Properties

NameSummary
BatchResetLimitGets or sets the size above which one applied batch raises a single reset instead of one notification per item.
CountGets the number of groups.
GroupsGets the collection of groups for UI binding.
ItemsGets the collection of groups for UI binding. This is an alias for Groups.
KeysGets the keys of all groups.
ValuesGets the values (item lists) of all groups.
this[]Gets the items in the specified group.

Methods

NameSummary
ContainsKeyDetermines whether the view contains a group with the specified key.
TryGetValueGets the items in the specified group, if it exists.
GetEnumeratorReturns an enumerator that iterates through the collection.
RefreshForces a rebuild of the grouped view from the source.
ToPropertyAssigns the current collection of groups to a property using the specified setter action.
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Events

NameSummary
CollectionChangedOccurs when the collection changes.
PropertyChangedOccurs when a property value changes.
Inherited members