ObservableBindingList<T> AddedNew event

ObservableBindingList<T> AddedNew event

Old forum URL: forums.lhotka.net/forums/t/9897.aspx


enkidu posted on Wednesday, December 22, 2010

Is there any reason why this event shouldn't be marked as

[field:NonSerialized]
[field:NotUndoable]

?

I had a handler attached to this event on my ViewModel and it took a while to figure out why I was getting a serialization exception on save when it was trying to serialize the viewmodel.

I'm now attaching to the CollectionChanged event, and everything is working fine now.

RockfordLhotka replied on Wednesday, December 22, 2010

Yes, that looks like a bug. I'll add it to the list for 4.1.

Copyright (c) Marimer LLC