Table of Contents

Method AddRange

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AddRange(IEnumerable)

Adds a collection of items to the list control.

public virtual void AddRange(IEnumerable items)

Parameters

items IEnumerable

The collection of items to add. Each item can either be a ListControlItem or an object that will be wrapped in a new ListControlItem.

Remarks

If an item in the collection is already a ListControlItem, it is added directly. Otherwise, a new ListControlItem is created for the item, with its Value property set to the item, and then added to the list.