CollectionChangedHandlerTItem, TCollectionRemoveRange Method (IEnumerableTItem) |
Removes the specified items from the collection
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public virtual void RemoveRange(
IEnumerable<TItem> items
)
Public Overridable Sub RemoveRange (
items As IEnumerable(Of TItem)
)
abstract RemoveRange :
items : IEnumerable<'TItem> -> unit
override RemoveRange :
items : IEnumerable<'TItem> -> unit
Parameters
- items
- Type: System.Collections.GenericIEnumerableTItem
List of items to remove
Remarks
This simply calls
RemoveItem(TItem) for each item to remove. If there
is a faster mechanism for doing so, implementors should override this method.
For example, sometimes removing a single item will update the UI for each item, this
should be overridden so the UI is updated after all items have been removed.
See Also