Dispatcher: abort dispatcher operation
问题 I want adding items to DataGrid in thread. I have view model for my user control: public class Contact { public string Name { get; set; } public string Phone { get; set; } } public class ContactGridViewModel { public ContactGridViewModel() { Items = new ObservableCollection<Contact>(); } public ObservableCollection<Contact> Items { get; private set; } public Dispatcher Dispatcher { get { return Dispatcher.CurrentDispatcher); } } private DispatcherOperation LastOperation { get; set; } public