MindFusion.Wpf Pack Programmer's Guide
SortedObservableCollection(T).MoveItem Method
See Also
 





ObservableCollection<T>.MoveItem override.

Namespace: MindFusion.DataViews.Wpf
Assembly: MindFusion.DataViews.Wpf

 Syntax

C#  Copy Code

protected override void MoveItem (
    int oldIndex,
    int newIndex
)

Visual Basic  Copy Code

Protected Overrides Sub MoveItem( _
    oldIndex As Integer, _
    newIndex As Integer _
)

 Parameters

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

 Remarks

Items in the collection are sorted upon modification, so calls to this method will result in an InvalidOperationException.

 See Also

SortedObservableCollection(T) Members
SortedObservableCollection(T) Class
MindFusion.DataViews.Wpf Namespace