Calendar page and shell improvements to support navigations. Enabled page caching.
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user