Use INotifyPropertyChanged but pass an empty string for the propertyname - indicates all fields may have changed in one go.
Cheers Simon > -----Original Message----- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of > Sebastien Lorion > Sent: 23 January 2007 19:40 > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: [ADVANCED-DOTNET] WPF - How to notify with events > when implementing RejectChanges() > > Hello, > > > > Let's say I have a standard business object with a > RejectChanges() method. > What plumbing do I need to implement to notify a WPF > interface that the > object as a whole has changed ? As far as I can see, > INotifyPropertyChanged > is not appropriate for that (raising an event for every > property ??) and > INotifyCollectionChanged has no action specifically for that > case. Also, I > would like to not introduce a hard dependency on .NET 3.0 in > our business > entity framework component. > > > > Any idea ? > > > > Thanks ! > > > > Sébastien > > <http://www.sebastienlorion.com/> www.sebastienlorion.com > > > > > =================================== > This list is hosted by DevelopMentor® http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com