1
Vote

SL Wrapper: Collection.OnCollectionChanged receiving an event with NotifyCollectionChangedAction=3

description

The JS layer sends an event to Microsoft.Live.Messenger.Collection.OnCollectionChanged with a NotifyCollectionChangedAction of 3. This is defined as “Move” in the desktop library, but isn’t defined in Silverlight. Interestingly, I only saw it fired once on the ContactCollection object, on sign-in. I was able to work around it as follows in OnCollectionChanged:
            case (NotifyCollectionChangedAction)3: // Move 
                this.OnReset(); 
                break;

comments