Click or drag to resize

PartitionableListTCreatePartialView(FuncT, Boolean) Method

Creates a partial view. A partial view is a view of the list of items of the original collection, that fulfill a certain condition.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public IObservableList<T> CreatePartialView(
	Func<T, bool> selectionCriterium
)

Parameters

selectionCriterium  FuncT, Boolean
The selection condition. If this function returns true on an item of the original collection, that item is member of the partial view. Note that during the lifetime of the partition, the behaviour of the selection criterion must not change.

Return Value

IObservableListT
List of items of the original collection, that fullfils the selection condition. The returned list is automatically updated, when the original collection changed or when the user changed the partial view itself.
See Also