Class ObservableCollectionExtensions
A class with extensions for ObservableCollection<T>.
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public static class ObservableCollectionExtensions
Methods
View SourceMoveIfNotEqual<T>(ObservableCollection<T>, int, int)
Performs Move(int, int) if the indexes are not equal.
Declaration
public static void MoveIfNotEqual<T>(this ObservableCollection<T> collection, int oldIndex, int newIndex)
Parameters
Type | Name | Description |
---|---|---|
ObservableCollection<T> | collection | The collection. |
int | oldIndex | The index of one the element you wish to move. |
int | newIndex | The element's desired new index. |
Type Parameters
Name | Description |
---|---|
T | The type of the items. |