Пример #1
0
 public virtual void OnLineRemoved(int index, int count, List <int> removedLineIds)
 {
     if (count > 0)
     {
         LineRemoved?.Invoke(this, new LineRemovedEventArgs(index, count, removedLineIds));
     }
 }
Пример #2
0
        protected override void OnItemRemoved(TGridLine gridLine)
        {
            base.OnItemRemoved(gridLine);

            _sortedLines.Remove(gridLine);

            SortGridLines();

            LineRemoved?.Invoke(this, new EventArgs <TGridLine>(gridLine));

            _model.OnModelChangedInternal();
        }