Skip to content

Commit

Permalink
fix: fix ItemsSource
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane ANDRE (E104915) committed Sep 4, 2024
1 parent b20af0e commit 337eb63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MyNet.Wpf/Controls/CalendarBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ protected CalendarBase()
BlackoutDates = new BlackoutDatesCollection(this);
SelectedDatesInternal = new Calendars.SelectedDatesCollection(this);
SetCurrentValue(DisplayDateProperty, DateTime.Now);
SetCurrentValue(ItemsSourceProperty, _appointments);
ItemsSource = _appointments;
BusyService = new BusyService();

GlobalizationService.Current.TimeZoneChanged += OnTimeZoneChangedCallback;
Expand Down
2 changes: 1 addition & 1 deletion src/MyNet.Wpf/MyNet.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageReference Include="MyNet.Humanizer" Version="2.0.0" />
<PackageReference Include="MyNet.Observable" Version="6.0.0" />
<PackageReference Include="MyNet.UI" Version="5.0.0" />
<PackageReference Include="MyNet.Utilities" Version="5.0.0" />
<PackageReference Include="MyNet.Utilities" Version="5.1.0" />
<PackageReference Include="MyNet.Xaml.Html" Version="1.0.0" />
<PackageReference Include="MyNet.Xaml.Merger.MSBuild" Version="2.0.1">
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit 337eb63

Please sign in to comment.