CollectionChangedHandlerTItem, TCollectionRemoveRange Method (Int32, Int32) |
Removes a specified count of items from the collection starting at the specified index
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public virtual void RemoveRange(
int index,
int count
)
Public Overridable Sub RemoveRange (
index As Integer,
count As Integer
)
abstract RemoveRange :
index : int *
count : int -> unit
override RemoveRange :
index : int *
count : int -> unit
Parameters
- index
- Type: SystemInt32
Index to start removing the items from - count
- Type: SystemInt32
Number of items to remove
Remarks
This simply calls
RemoveItem(Int32) 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