Class ObservableList<T>
  
Inheritance
System.Object
ObservableList<T>
 
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
 
Syntax
public class ObservableList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
 
Type Parameters
Constructors
  
ObservableList()
Declaration
ObservableList(IEnumerable<T>)
Declaration
public ObservableList(IEnumerable<T> collection)
 
Parameters
| Type | 
Name | 
Description | 
| System.Collections.Generic.IEnumerable<T> | 
collection | 
 | 
ObservableList(Int32)
Declaration
public ObservableList(int capacity)
 
Parameters
| Type | 
Name | 
Description | 
| System.Int32 | 
capacity | 
 | 
Properties
  
Count
Declaration
public int Count { get; }
 
Property Value
| Type | 
Description | 
| System.Int32 | 
 | 
Implements
System.Collections.Generic.ICollection<T>.Count
IsReadOnly
Declaration
public bool IsReadOnly { get; }
 
Property Value
| Type | 
Description | 
| System.Boolean | 
 | 
Implements
System.Collections.Generic.ICollection<T>.IsReadOnly
Item[Int32]
Declaration
public T this[int index] { get; set; }
 
Parameters
| Type | 
Name | 
Description | 
| System.Int32 | 
index | 
 | 
Property Value
Implements
System.Collections.Generic.IList<T>.Item[System.Int32]
Methods
  
Add(T)
Declaration
Parameters
| Type | 
Name | 
Description | 
| T | 
item | 
 | 
Implements
System.Collections.Generic.ICollection<T>.Add(T)
Add(T[])
Declaration
public void Add(params T[] items)
 
Parameters
| Type | 
Name | 
Description | 
| T[] | 
items | 
 | 
Clear()
Declaration
Implements
System.Collections.Generic.ICollection<T>.Clear()
Contains(T)
Declaration
public bool Contains(T item)
 
Parameters
| Type | 
Name | 
Description | 
| T | 
item | 
 | 
Returns
| Type | 
Description | 
| System.Boolean | 
 | 
Implements
System.Collections.Generic.ICollection<T>.Contains(T)
CopyTo(T[], Int32)
Declaration
public void CopyTo(T[] array, int arrayIndex)
 
Parameters
| Type | 
Name | 
Description | 
| T[] | 
array | 
 | 
| System.Int32 | 
arrayIndex | 
 | 
Implements
System.Collections.Generic.ICollection<T>.CopyTo(T[], System.Int32)
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
 
Returns
| Type | 
Description | 
| System.Collections.Generic.IEnumerator<T> | 
 | 
Implements
System.Collections.Generic.IEnumerable<T>.GetEnumerator()
IndexOf(T)
Declaration
public int IndexOf(T item)
 
Parameters
| Type | 
Name | 
Description | 
| T | 
item | 
 | 
Returns
| Type | 
Description | 
| System.Int32 | 
 | 
Implements
System.Collections.Generic.IList<T>.IndexOf(T)
Insert(Int32, T)
Declaration
public void Insert(int index, T item)
 
Parameters
| Type | 
Name | 
Description | 
| System.Int32 | 
index | 
 | 
| T | 
item | 
 | 
Implements
System.Collections.Generic.IList<T>.Insert(System.Int32, T)
Remove(T)
Declaration
public bool Remove(T item)
 
Parameters
| Type | 
Name | 
Description | 
| T | 
item | 
 | 
Returns
| Type | 
Description | 
| System.Boolean | 
 | 
Implements
System.Collections.Generic.ICollection<T>.Remove(T)
Remove(T[])
Declaration
public int Remove(params T[] items)
 
Parameters
| Type | 
Name | 
Description | 
| T[] | 
items | 
 | 
Returns
| Type | 
Description | 
| System.Int32 | 
 | 
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
 
Parameters
| Type | 
Name | 
Description | 
| System.Int32 | 
index | 
 | 
Implements
System.Collections.Generic.IList<T>.RemoveAt(System.Int32)
Events
  
ItemAdded
Declaration
public event ListChangedEventHandler<T> ItemAdded
 
Event Type
ItemRemoved
Declaration
public event ListChangedEventHandler<T> ItemRemoved
 
Event Type