Show / Hide Table of Contents

Class ObservableCollectionExtensions

A class with extensions for ObservableCollection<T>.

Inheritance
object
ObservableCollectionExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public static class ObservableCollectionExtensions

Methods

View Source

MoveIfNotEqual<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.

  • View Source
In this article
Back to top Generated by DocFX