Calendar page and shell improvements to support navigations. Enabled page caching.

This commit is contained in:
Burak Kaan Köse
2024-12-28 16:39:43 +01:00
parent fbc3ca4517
commit 6e3fcf363a
14 changed files with 227 additions and 153 deletions

View File

@@ -1,4 +1,6 @@
namespace Wino.Core.Domain.Models.Calendar
using System;
namespace Wino.Core.Domain.Models.Calendar
{
public class CalendarPageNavigationArgs
{
@@ -6,5 +8,10 @@
/// When the app launches, automatically request the default calendar navigation options.
/// </summary>
public bool RequestDefaultNavigation { get; set; }
/// <summary>
/// Display the calendar view for the specified date.
/// </summary>
public DateTime NavigationDate { get; set; }
}
}

View File

@@ -11,7 +11,7 @@ namespace Wino.Core.Domain.Models.Calendar
/// </summary>
public class DayRangeRenderModel
{
ITimePeriod Period { get; }
public ITimePeriod Period { get; }
public List<CalendarDayModel> CalendarDays { get; } = new List<CalendarDayModel>();
public List<DayHeaderRenderModel> DayHeaders { get; } = new List<DayHeaderRenderModel>();
public CalendarRenderOptions CalendarRenderOptions { get; }