CollectionChangedHandlerTItem, TCollectionAddRange Method |
Adds multiple items to the end of the collection
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public virtual void AddRange(
IEnumerable<TItem> items
)
Public Overridable Sub AddRange (
items As IEnumerable(Of TItem)
)
abstract AddRange :
items : IEnumerable<'TItem> -> unit
override AddRange :
items : IEnumerable<'TItem> -> unit
Parameters
- items
- Type: System.Collections.GenericIEnumerableTItem
Enumeration of items to add to the end of the collection
Remarks
This simply calls
AddItem(TItem) for each item in the list. If there
is a faster mechanism for doing so, implementors should override this method.
For example, sometimes adding a single item will update the UI for each item, this
should be overridden so the UI is updated after all items have been added.
See Also