IAvaloniaList<T> Interface
Definition
A notifying list.
public interface IAvaloniaList<T>
Methods
| Name | Description |
|---|---|
| AddRange | No summary available. |
| InsertRange | No summary available. |
| Move | Moves an item to a new index. |
| MoveRange | Moves multiple items to a new index. |
| RemoveAll | No summary available. |
| RemoveRange | Removes a range of elements from the collection. |
AddRange Method
public void AddRange(System.Collections.Generic.IEnumerable<T> items)
Parameters
items System.Collections.Generic.IEnumerable<T>
InsertRange Method
public void InsertRange(int index, System.Collections.Generic.IEnumerable<T> items)
Parameters
index int
items System.Collections.Generic.IEnumerable<T>
Move Method
Moves an item to a new index.
public void Move(int oldIndex, int newIndex)
Parameters
oldIndex int
The index of the item to move.
newIndex int
The index to move the item to.
MoveRange Method
Moves multiple items to a new index.
public void MoveRange(int oldIndex, int count, int newIndex)
Parameters
oldIndex int
The first index of the items to move.
count int
The number of items to move.
newIndex int
The index to move the items to.
RemoveAll Method
public void RemoveAll(System.Collections.Generic.IEnumerable<T> items)
Parameters
items System.Collections.Generic.IEnumerable<T>
RemoveRange Method
Removes a range of elements from the collection.
public void RemoveRange(int index, int count)
Parameters
index int
The first index to remove.
count int
The number of items to remove.
Properties
Count Property
Gets the number of items in the list.
public int Count { get; set; }
Item Property
public T Item { get; set; }