ObservableList<'T> Type

Generic list that implements the INotifyCollectionChanged interface to notify changed. Does additionally implement ObservableList.MoveToLowerIndex and ObservableList.MoveToHigherIndex as well as ObservableList.AddRange.

Constructors

Constructor Description

ObservableList()

Full Usage: ObservableList()

ObservableList(collection)

Full Usage: ObservableList(collection)

Parameters:

collection : IEnumerable<'T>

Instance members

Instance member Description

this.Add

Full Usage: this.Add

Parameters:
    item : 'T

Modifiers: abstract

item : 'T

this.AddRange

Full Usage: this.AddRange

Parameters:

Adds a range of items to the list.

itemsToAdd : IEnumerable<'T>

The items to add.

this.Clear

Full Usage: this.Clear

Modifiers: abstract

this.CollectionChanged

Full Usage: this.CollectionChanged

Returns: IEvent<NotifyCollectionChangedEventHandler, NotifyCollectionChangedEventArgs>
Modifiers: abstract

Returns: IEvent<NotifyCollectionChangedEventHandler, NotifyCollectionChangedEventArgs>

this.Contains

Full Usage: this.Contains

Parameters:
    item : 'T

Returns: bool
Modifiers: abstract

item : 'T
Returns: bool

this.CopyTo

Full Usage: this.CopyTo

Parameters:
    array : 'T[]
    arrayIndex : int

Modifiers: abstract

array : 'T[]
arrayIndex : int

this.Count

Full Usage: this.Count

Returns: int
Modifiers: abstract

Returns: int

this.ExchangeItemsAtIndices

Full Usage: this.ExchangeItemsAtIndices

Parameters:
    idx1 : int - The index of the one item.
    idx2 : int - The index of the other item.

Exchanges the item at index idx1 with the item at idx2.

idx1 : int

The index of the one item.

idx2 : int

The index of the other item.

ArgumentOutOfRangeException If a provided index is out of range.

this.GetEnumerator

Full Usage: this.GetEnumerator

Returns: IEnumerator<'T>
Modifiers: abstract

Returns: IEnumerator<'T>

this.IndexOf

Full Usage: this.IndexOf

Parameters:
    item : 'T

Returns: int
Modifiers: abstract

item : 'T
Returns: int

this.Insert

Full Usage: this.Insert

Parameters:
    index : int
    item : 'T

Modifiers: abstract

index : int
item : 'T

this.IsReadOnly

Full Usage: this.IsReadOnly

Returns: bool
Modifiers: abstract

Returns: bool

this.[arg1]

Full Usage: this.[arg1]

Returns: int
Modifiers: abstract

Returns: int

this.MoveToHigherIndex

Full Usage: this.MoveToHigherIndex

Parameters:
    idx : int - The index of the item to move.

Moves the item at index idx to the index idx+1. The item at index idx+1 is moved to index idx.

idx : int

The index of the item to move.

this.MoveToLowerIndex

Full Usage: this.MoveToLowerIndex

Parameters:
    idx : int - The index of the item to move.

Moves the item at index idx to the index idx-1. The item at index idx-1 is moved to index idx.

idx : int

The index of the item to move.

this.PropertyChanged

Full Usage: this.PropertyChanged

Returns: IEvent<PropertyChangedEventHandler, PropertyChangedEventArgs>
Modifiers: abstract

Returns: IEvent<PropertyChangedEventHandler, PropertyChangedEventArgs>

this.Remove

Full Usage: this.Remove

Parameters:
    item : 'T

Returns: bool
Modifiers: abstract

item : 'T
Returns: bool

this.RemoveAt

Full Usage: this.RemoveAt

Parameters:
    index : int

Modifiers: abstract

index : int