MindFusion.Wpf Pack Programmer's Guide
UndoableCollection(T).TrackMove Method
See Also
 





Moves the specified item to another position. If undo is enabled, the item is moved through a command. Otherwise, the item is moved directly.

Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

protected void TrackMove (
    int fromIndex,
    int toIndex,
    T item
)

Visual Basic  Copy Code

Protected Sub TrackMove( _
    fromIndex As Integer, _
    toIndex As Integer, _
    item As T _
)

 Parameters

fromIndex

A zero-based index specifying the previous position of the item in the collection.

toIndex

A zero-based index specifying the new position of the item in the collection.

item

The item to move.

 See Also

UndoableCollection(T) Members
UndoableCollection(T) Class
MindFusion.Spreadsheet.Wpf Namespace