SortedReactiveView class¶
Attributes: [DefaultMember("Item")] [DebuggerDisplay("SortedReactiveView: {Count}")]
Defined in
Namespace: ReactiveList.Reactive.Views Assembly: ReactiveList.Reactive.dll Full name: ReactiveList.Reactive.Views.SortedReactiveView<T> Modifiers: public sealed
Summary¶
View source (opens in a new tab)
Provides a sorted, read-only 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 SortedReactiveView~T~
class IReadOnlyList~T~ {
<>
}
IReadOnlyList~T~ <|.. SortedReactiveView~T~
class IEnumerable~T~ {
<>
}
IEnumerable~T~ <|.. SortedReactiveView~T~
class IEnumerable {
<>
}
IEnumerable <|.. SortedReactiveView~T~
class IReadOnlyCollection~T~ {
<>
}
IReadOnlyCollection~T~ <|.. SortedReactiveView~T~
class INotifyCollectionChanged {
<>
}
INotifyCollectionChanged <|.. SortedReactiveView~T~
class INotifyPropertyChanged {
<>
}
INotifyPropertyChanged <|.. SortedReactiveView~T~
class IReactiveView~SortedReactiveView~T~, T~ {
<>
}
IReactiveView~SortedReactiveView~T~, T~ <|.. SortedReactiveView~T~
class IDisposable {
<>
}
IDisposable <|.. SortedReactiveView~T~
Implements: IReadOnlyList
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the SortedReactiveView 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 items in the sorted view. |
| Items | Gets the underlying read-only observable collection for UI binding. |
| this[] | Gets the item at the specified index. |
Methods¶
| Name | Summary |
|---|---|
| GetEnumerator | Returns an enumerator that iterates through the collection. |
| Refresh | Forces a rebuild of the sorted view from the source. |
| ToProperty | Assigns the current collection of items 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)