Skip to content

Commit

Permalink
fix: Switch to ObservableCollection for headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane ANDRE (E104915) committed Oct 10, 2024
1 parent 4df206d commit 5a0a436
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/MyNet.Wpf/Controls/CalendarBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -68,8 +69,8 @@ public abstract class CalendarBase : ListBox
private DateTime? _currentDate;
private ContentControl? _accurateDateControl;
private ContentControl? _accurateDatePreviewControl;
private readonly UiObservableCollection<object> _columnHeaders = [];
private readonly UiObservableCollection<object> _rowHeaders = [];
private readonly ObservableCollection<object> _columnHeaders = [];
private readonly ObservableCollection<object> _rowHeaders = [];
private readonly UiObservableCollection<CalendarItem> _displayDates = [];
private readonly UiObservableCollection<CalendarAppointment> _appointments = [];
private readonly SingleTaskDeferrer _refreshAppointments;
Expand Down

0 comments on commit 5a0a436

Please sign in to comment.