Moves the item at the specified index to a new location in the collection.
Namespace:
C1.WPF.C1ScheduleAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
| C# |
|---|
public void Move( int oldIndex, int newIndex ) |
| Visual Basic (Declaration) |
|---|
Public Sub Move ( _ oldIndex As Integer, _ newIndex As Integer _ ) |
Parameters
- oldIndex
- Type: System..::..Int32
The zero-based index specifying the location of the item to be moved.
- newIndex
- Type: System..::..Int32
The zero-based index specifying the new location of the item.