Class ItemObservableCollection<T>
ObservableCollection where also item propertychanged is observed.
Inheritance
System.Object
ItemObservableCollection<T>
Assembly: ISynergy.Framework.Core.dll
Syntax
public sealed class ItemObservableCollection<T> : ObservableCollection<T> where T : INotifyPropertyChanged
Type Parameters
Examples
var invoices = new ItemObservableCollection{Invoice}();
invoices.CollectionChanged += OnInvoicesChanged;
invoices.ItemPropertyChanged += OnInvoiceChanged;
Methods
View Source
ClearItems()
Declaration
protected override void ClearItems()
View Source
InsertItem(Int32, T)
Declaration
protected override void InsertItem(int index, T item)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
T |
item |
|
View Source
RemoveItem(Int32)
Declaration
protected override void RemoveItem(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
View Source
SetItem(Int32, T)
Declaration
protected override void SetItem(int index, T item)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
T |
item |
|
Events
View Source
ItemPropertyChanged
Declaration
public event EventHandler<ItemPropertyChangedEventArgs<T>> ItemPropertyChanged
Event Type
Extension Methods