FilteredReactiveView class¶
Attributes: [DefaultMember("Item")] [DebuggerDisplay("FilteredReactiveView: {Count}")]
Defined in
Namespace: ReactiveList.Reactive.Views Assembly: ReactiveList.Reactive.dll Full name: ReactiveList.Reactive.Views.FilteredReactiveView<T> Modifiers: public sealed
Summary¶
View source (opens in a new tab)
Provides a filtered, read-only view over an IReactiveList that updates when the source changes.
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Class hierarchy
classDiagram
class FilteredReactiveView~T~
class IReadOnlyList~T~ {
<>
}
IReadOnlyList~T~ <|.. FilteredReactiveView~T~
class IEnumerable~T~ {
<>
}
IEnumerable~T~ <|.. FilteredReactiveView~T~
class IEnumerable {
<>
}
IEnumerable <|.. FilteredReactiveView~T~
class IReadOnlyCollection~T~ {
<>
}
IReadOnlyCollection~T~ <|.. FilteredReactiveView~T~
class INotifyCollectionChanged {
<>
}
INotifyCollectionChanged <|.. FilteredReactiveView~T~
class INotifyPropertyChanged {
<>
}
INotifyPropertyChanged <|.. FilteredReactiveView~T~
class IReactiveView~FilteredReactiveView~T~, T~ {
<>
}
IReactiveView~FilteredReactiveView~T~, T~ <|.. FilteredReactiveView~T~
class IDisposable {
<>
}
IDisposable <|.. FilteredReactiveView~T~
Implements: IReadOnlyList
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the FilteredReactiveView 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 filtered 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 filtered 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)