| ObservableFilteredCollectionT Constructor |
Namespace:
TomsToolbox.ObservableCollections
Assembly:
TomsToolbox.ObservableCollections (in TomsToolbox.ObservableCollections.dll)
Syntax public ObservableFilteredCollection(
IEnumerable sourceCollection,
Func<T, bool> filter,
params string[] liveTrackingProperties
)
Public Sub New (
sourceCollection As IEnumerable,
filter As Func(Of T, Boolean),
ParamArray liveTrackingProperties As String()
)
Parameters
- sourceCollection
- Type: System.CollectionsIEnumerable
The source collection. This instance will not hold a reference to the source collection. - filter
- Type: SystemFuncT, Boolean
The filter. - liveTrackingProperties
- Type: SystemString
The live tracking properties. Whenever one of these properties in any item changes, the filter is reevaluated for the item.
See Also