Getting Started with Adobe After Effects - Part 6: Motion Blur
A collection of quick technology learning tips from what people around you learn every day

Observablecollection provides notifications in addition to functionalities to List

Sep 15 2011 3:43AM by Kirti M.Darji   

List<T>

It represents a strongly typed list of objects that can be accessed by index. it is equivalent to array list class it implement IList<T> generic interface using an array whose size is dynamically increased as required. It provides methods to search, sort, and manipulate lists. When setting ItemSource property of some control(Datagrid control or itemcollection) to every IEnumerable, there is no notification service applied.

Observablecollection<T>

ObservableCollection is a generic dynamic data collection that provides notifications (using an interface "INotifyCollectionChanged") when items get added, removed, or when the whole collection is refreshed. it Support INotifyCollectionChanged so we can take some action on property change of observable collection. We bind it to an ObservableCollection, any change in the list is recognized by the control.

P.S WCF service proxy class in Silverlight will use this type of collection by default.

Read More..   [32134 clicks]

Published under: Microsoft .NET Tips ·  ·  ·  · 


Kirti M.Darji
10 · 16% · 4983
1
 
0
Knew
 
 
0
Incorrect
 
0
Interesting
 
0
Forgotten



Submit

Your Comment


Sign Up or Login to post a comment.

"Observablecollection provides notifications in addition to functionalities to List " rated 5 out of 5 by 1 readers
Observablecollection provides notifications in addition to functionalities to List , 5.0 out of 5 based on 1 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]