Specifies change type of the collection.
Inheritance: System.EventArgs
 private void SelectedDateRange_CollectionChanged(object sender, CollectionChangedEventArgs e)
 {
     textBox1.Text += "CollectionChanged [" + e.ChangeType + "] event fired\r\n";
     UpdateCount();
 }
Beispiel #2
0
        private void OnSelectionCollectionChanged(object sender, CollectionChangedEventArgs e)
        {
            ResetSelectedRectangleState();
            selectedRects.Clear();

            OnRecalculateRequired();
            Invalidate();
            OnSelectedDateRangeChanged(new SelectedDateRangeChangedEventArgs(SelectedDateRange.ToList()));
        }