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
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the GroupedReactiveView class. |
Properties¶
| Name | Summary |
|---|---|
| BatchResetLimit | Gets or sets the size above which one applied batch raises a single reset instead of one notification per item. |
| Count | Gets the number of groups. |
| Groups | Gets the collection of groups for UI binding. |
| Items | Gets the collection of groups for UI binding. This is an alias for Groups. |
| Keys | Gets the keys of all groups. |
| Values | Gets the values (item lists) of all groups. |
| this[] | Gets the items in the specified group. |
Methods¶
| Name | Summary |
|---|---|
| ContainsKey | Determines whether the view contains a group with the specified key. |
| TryGetValue | Gets the items in the specified group, if it exists. |
| GetEnumerator | Returns an enumerator that iterates through the collection. |
| Refresh | Forces a rebuild of the grouped view from the source. |
| ToProperty | Assigns the current collection of groups to a property using the specified setter action. |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Events¶
| Name | Summary |
|---|---|
| CollectionChanged | Occurs when the collection changes. |
| PropertyChanged | Occurs when a property value changes. |
Inherited members
System.Object.Equals(System.Object)(opens in a new tab)System.Object.Equals(System.Object,System.Object)(opens in a new tab)System.Object.GetHashCode(opens in a new tab)System.Object.GetType(opens in a new tab)System.Object.MemberwiseClone(opens in a new tab)System.Object.ReferenceEquals(System.Object,System.Object)(opens in a new tab)System.Object.ToString(opens in a new tab)