Click or drag to resize

ObservableListTRemoveAll Method

Removes all the elements in the list for which pred returns true. Note that each element will be visited twice.
list.RemoveAll(shape => shape is PdfPath); // remove all paths from the list

Namespace:  Atalasoft.PdfDoc.Generating.Shapes
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public int RemoveAll(
	Predicate<T> pred
)

Parameters

pred
Type: SystemPredicateT
The pred.

Return Value

Type: Int32
The number of items removed.
See Also