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





Removes the specified item in the collection. If undo is enabled, the item is replaced through a command. Otherwise, the item is replaced directly.

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

 Syntax

C#  Copy Code

protected void TrackReplace (
    int index,
    T item,
    T newItem
)

Visual Basic  Copy Code

Protected Sub TrackReplace( _
    index As Integer, _
    item As T, _
    newItem As T _
)

 Parameters

index

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

item

The previous item at the specified position.

newItem

The new item at the specified position.

 See Also

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