NotifyingListBase<T> Class
Definition
A base class for observable collections that implements System.Collections.Specialized.INotifyCollectionChanged and System.ComponentModel.INotifyPropertyChanged with support for batch operations.
public class NotifyingListBase<T>
Remarks
This class should be considered internal to the TreeDataGrid package and is not intended for use outside of this package.
Constructors
| Name | Description |
|---|---|
| NotifyingListBase<T> | Initializes a new instance of the Avalonia.Controls.Models.NotifyingListBase<T> class. |
NotifyingListBase<T> Constructor
Initializes a new instance of the Avalonia.Controls.Models.NotifyingListBase<T> class.
public NotifyingListBase<T>()
Methods
| Name | Description |
|---|---|
| InsertRange | No summary available. |
| RemoveRange | Removes multiple items from the collection starting at the specified index as a batch operation. |
| Reset | No summary available. |
InsertRange Method
public void InsertRange(int index, Action<Action<T>> action)
Parameters
index int
action Action<Action<T>>
RemoveRange Method
Removes multiple items from the collection starting at the specified index as a batch operation.
public void RemoveRange(int index, int count)
Parameters
index int
The zero-based starting index of the items to remove.
count int
The number of items to remove.
Reset Method
public void Reset(Action<System.Collections.Generic.IList<T>> action)
Parameters
action Action<System.Collections.Generic.IList<T>>
Events
| Name | Description |
|---|---|
| CollectionChanged | No summary available. |
| PropertyChanged | No summary available. |
CollectionChanged Event
public event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged
PropertyChanged Event
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged