Sorry for the late reply ... It seems to work as expected. Thanks for your tip!

Is this behavior documented ? I do not recall seeing that in the
interface documentation ... Have you tried that with other components
? Do they react correctly ? Thanks again!

Sébastien

On 1/24/07, Hewitt, Simon C. (Contractor) <[EMAIL PROTECTED]> wrote:
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(r)  http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

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



--
Sébastien
www.sebastienlorion.com

Reply via email to