Quantcast
Channel: Silverlight Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 801

Created Unassigned: NullReferenceException in PagedCollectionView [12176]

$
0
0
When binding a DataGrid to an ObservableCollection<T> with null items and replacing one such item with a non-null item a NullReferenceException is thrown. The culprit seems to be the PagedCollectionView.IsCurrentInSync property:
```
this.GetItemAt(this.CurrentPosition).Equals(this.CurrentItem)
```
should be
```
Object.Equals(this.GetItemAt(this.CurrentPosition), this.CurrentItem)
```

Viewing all articles
Browse latest Browse all 801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>