Showing posts with label WPF. Show all posts
Showing posts with label WPF. Show all posts

Tuesday, February 22, 2011

Book : WPF Good book

WPF 4 Unleashed

http://www.informit.com/store/product.aspx?isbn=0672336553

Friday, August 27, 2010

Links to download MVVM Project Templates for WPF

Following are links for some of the project templates for the MVVM

1. WPF Model-View-ViewModel Toolkit [By Microsoft]

http://wpf.codeplex.com/wikipage?title=WPF%20Model-View-ViewModel%20Toolkit

2. MVVM Light Toolkit [By gala soft]

http://www.galasoft.ch/mvvm/getstarted/

MVVM Light in Codeplex

http://mvvmlight.codeplex.com/

3. MVVM Foundation [by Jogn Smith]
http://mvvmfoundation.codeplex.com/

Wednesday, August 4, 2010

ObservableCollection Class in .Net (WPF)

WPF provides the ObservableCollection class, which is a built-in implementation of a data collection that implements the INotifyCollectionChanged interface.

We can enumerate over any collection that implements the IEnumerable interface. However, to set up dynamic bindings so that insertions or deletions in the collection update the UI automatically, the collection must implement the INotifyCollectionChanged interface. This interface exposes the CollectionChanged event, an event that should be raised whenever the underlying collection changes.

So, by using ObservableCollection, we no need to Implement the INotifyCollectionChanged interface.

References

ObservableCollection Class

List vs ObservableCollection vs INotifyPropertyChanged in Silverlight

Silverlight Databinding – The Observable Collection

What is INotifyPropertyChanged Interface

The INotifyPropertyChanged interface is used to notify clients, typically binding clients, that a property value has changed.

To Understand more on INotifyPropertyChanged Inteface, follow these links

INotifyPropertyChanged Interface

AutomagicallyImplementingINotifyPropertyChanged

View Models: POCOs versus DependencyObjects

Bind Better with INotifyPropertyChanged

INotifyPropertyChanged Is Obsolete