diff --git a/src/MyNet.Wpf/Controls/CalendarBase.cs b/src/MyNet.Wpf/Controls/CalendarBase.cs index 012eadf..194b8f1 100644 --- a/src/MyNet.Wpf/Controls/CalendarBase.cs +++ b/src/MyNet.Wpf/Controls/CalendarBase.cs @@ -4,6 +4,7 @@ using System; using System.Collections; using System.Collections.Generic; +using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; @@ -68,8 +69,8 @@ public abstract class CalendarBase : ListBox private DateTime? _currentDate; private ContentControl? _accurateDateControl; private ContentControl? _accurateDatePreviewControl; - private readonly UiObservableCollection _columnHeaders = []; - private readonly UiObservableCollection _rowHeaders = []; + private readonly ObservableCollection _columnHeaders = []; + private readonly ObservableCollection _rowHeaders = []; private readonly UiObservableCollection _displayDates = []; private readonly UiObservableCollection _appointments = []; private readonly SingleTaskDeferrer _refreshAppointments;