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..




-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Sebastien
Lorion
Sent: Tuesday, January 23, 2007 2:57 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] WPF - How to notify with events when
implementing RejectChanges()


Nope, that one is already implemented ;) And btw, DataTable/DataRow do not
implement it although they should ...

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 2:45 PM
> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> Subject: Re: [ADVANCED-DOTNET] WPF - How to notify with events when
> implementing RejectChanges()
>
> IEditableObject maybe.. i think that's the one that datarow's use for
> acceptchanges, rejectchanges...etc
>
>
>
>
> -----Original Message-----
> From: Discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] Behalf Of Sebastien
> Lorion
> Sent: Tuesday, January 23, 2007 2:40 PM
> 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

===================================
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

Reply via email to