Table of Contents

Method SetItemsFast

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

SetItemsFast<TItemFrom>(IEnumerable<TItemFrom>, Action<ListControlItem, TItemFrom>)

Sets items from the specified collection to the control's items as fast as possible.

public virtual void SetItemsFast<TItemFrom>(IEnumerable<TItemFrom> from, Action<ListControlItem, TItemFrom> fnAssign)

Parameters

from IEnumerable<TItemFrom>
fnAssign Action<ListControlItem, TItemFrom>

Type Parameters

TItemFrom

SetItemsFast(VirtualListBoxItems, SetItemsKind)

Sets items to the new value using the specified method.

public virtual bool SetItemsFast(VirtualListBoxItems value, VirtualListBox.SetItemsKind kind)

Parameters

value VirtualListBoxItems

Collection with the new items.

kind VirtualListBox.SetItemsKind

The method which is used when items are set.

Returns

bool