Click or drag to resize
KaxListBoxReorder Method (IListKaxListBoxItem, Int32)
Reorders the specified items with the specified offset. Fires the Reordering and Reordered events.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public virtual void Reorder(
	IList<KaxListBoxItem> items,
	int offset
)

Parameters

items
Type: System.Collections.GenericIListKaxListBoxItem
The items.
offset
Type: SystemInt32
The offset.
Remarks
he Reorder method updates the underlying datasource if the AllowAutomaticUpdates is set to true.
Examples
//Move all selected items with one position down
KaxListBox1.Reorder(KaxListBox1.SelectedItems, 1);
See Also