Click or drag to resize

CollectionChangedHandlerTItem, TCollectionInsertRange Method

Inserts multiple items to the specified index in the collection

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public virtual void InsertRange(
	int index,
	IEnumerable<TItem> items
)

Parameters

index
Type: SystemInt32
Index to start adding the items
items
Type: System.Collections.GenericIEnumerableTItem
Enumeration of items to add
Remarks
This simply calls InsertItem(Int32, TItem) for each item in the list. If there is a faster mechanism for doing so, implementors should override this method. For example, sometimes inserting a single item will update the UI for each item, this should be overridden so the UI is updated after all items have been inserted.
See Also