O'Reilly logo

Developer’s Guide to Collections in Microsoft® .NET by Calvin “Lee” Janes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Using Collections with WPF and Silverlight Controls

After completing this chapter, you will be able to

  • Use and implement the INotifyCollectionChanged interface.

  • Use the ObservableCollection(T) class.

  • Use the ICollectionView and CollectionView derived classes.

  • Bind collections to WPF and Silverlight controls.

INotifyCollectionChanged Overview

The INotifyCollectionChanged interface is an interface that exposes a CollectionChanged event. The CollectionChanged event is raised whenever the collection is changed, such as when it is cleared, removed, or added to. The INotifyCollectionChanged interface is implemented by the ObservableCollection(T) class, which you learn about later in this chapter.

Implementing the INotifyCollectionChanged Interface ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required