I guess that would maybe be a starting point if I was working with WinForms,
but I do not see something similar in WPF. Seems like everyone is expected
to use an observable collection (either INotifyCollectionChanged or
ObservableCollection<T>). The thing is, I still haven't found an
example/sample with a RejectChanges() method being called.

Sébastien
www.sebastienlorion.com


> -----Original Message-----
> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED] On Behalf Of Phil Sayers
> Sent: Tuesday, January 23, 2007 3:41 PM
> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> Subject: Re: [ADVANCED-DOTNET] WPF - How to notify with events when
> implementing RejectChanges()
> 
> maybe look into the BindingSource class
> and the CurrentItemChanged event
> 
> but that looks like something the UI should listen to...not something a
> non-ui layer object should even be aware of.
> 
> and it looks like BindingSource raises it when the Current object
> raises the
> INotifyPropertyChanged events.
> i haven't done much real .net 2.0 work.....still stuck in 1.1 for
> now...so i
> think i'm close but not quite correct here..

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to