Пример #1
0
        protected virtual ListClearingEventArgs OnListClearing()
        {
            var evArg = new ListClearingEventArgs();

            ListClearing?.Invoke(this, evArg);
            return(evArg);
        }
Пример #2
0
 protected override void ClearItems()
 {
     ListClearing?.Invoke(this, EventArgs.Empty);
     base.ClearItems();
     OnListChanged(new ListChangedEventArgs <T>(ListChangedType.Reset));
 }