Am creating a UI component , i have got a itemsource of type ObservableCollection in my sample , which am storing as DataSource of type (object). So now when i try to do (DataSource as INotifyCollectionChanged).CollectionChanged += xxxxxxxxxx; i get a null reference exception.
↧