WPF Bootcamp Day 1 - Visual Studio "Orcas" Demo
Posted
Monday, March 26, 2007 6:43 PM
by
cromwellryan
We moved past the introductions quickly and are getting down and dirty. Rob Relyea took us through the basics of WPF from the latest Visual Studio Orcas perspective. Starting simple by creating a button via Xaml and a duplicate example using purely C# code. I've posted a copy of the sample here for Visual Studio 2005 with the WPF Extensions.
One of the interesting new classes for you code junkies is the ObservableCollection class available now in .Net 3.0. This class implements the INotifyPropertyChanged interface allowing the dynamic databinding in WPF. This is cool for all sorts of reasons, but specifically because we can use this dynamic, event based collections infrastructure for in memory lists of more than your list of employee names, but also videos, complex business objects like product definitions, pages in a book that you are rendering, or files in a directory which you are monitoring.