c# Programming Glossary: ce.cancel
ObservableCollection Doesn't support AddRange method, so I get notified for each item added, besides what about INotifyCollectionChanging? http://stackoverflow.com/questions/670577/observablecollection-doesnt-support-addrange-method-so-i-get-notified-for-each collection OnCollectionChanging ce If ce.Cancel Then Exit Sub Dim index Items.Count 1 For Each i In collection.. Collection OnCollectionChanging ce If ce.Cancel Then Exit Sub For Each i In Collection Items.Insert index i.. collection OnCollectionChanging ce If ce.Cancel Then Exit Sub For Each i In collection Items.Remove i Next OnCollectionChanged..
|