c# Programming Glossary: oncollectionchanging
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 Of T NotifyCollectionChangedAction.Add collection OnCollectionChanging ce If ce.Cancel Then Exit Sub Dim index Items.Count 1 For Each.. Of T NotifyCollectionChangedAction.Add Collection OnCollectionChanging ce If ce.Cancel Then Exit Sub For Each i In Collection Items.Insert.. Of T NotifyCollectionChangedAction.Remove collection OnCollectionChanging ce If ce.Cancel Then Exit Sub For Each i In collection Items.Remove..
|