ObservableBindingListTMoveItem Method

Moves the item at the specified index to a new location in the ObservableBindingListT.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0
C#
protected virtual void MoveItem(
	int oldIndex,
	int newIndex
)

Parameters

oldIndex  Int32
The zero-based index specifying the location of the item to be moved.
newIndex  Int32
The zero-based index specifying the new location of the item.

Remarks

This method raises the ListChanged event of type ItemMoved and CollectionChanged event of type Move.

See Also