WPF: Listbox.Invalidate() does not repopulate datastore items #68

Closed
TomKaltz opened this Issue Dec 4, 2012 · 2 comments

Projects

None yet

2 participants

@TomKaltz
TomKaltz commented Dec 4, 2012

subject says it all

@cwensley
Member

Right now you can repopulate by setting the DataStore with your collection again. New methods should be added to reload the data, or a specific item, instead of relying on Invalidate(). This way it can deal with keeping the scroll position and selected item

@cwensley cwensley modified the milestone: 1.3.1, 1.3 Apr 21, 2014
@cwensley
Member

This should now be fixed. You can use a collection that uses INotifyCollectionChanged (e.g. ObservableCollection) which will track updates on the UI, or just set a new data store object.

@cwensley cwensley closed this Jun 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment