2026-04-16 01:32:48 +02:00
|
|
|
#nullable enable
|
|
|
|
|
using System;
|
2024-12-28 16:39:43 +01:00
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
namespace Wino.Core.Domain.Models.Calendar;
|
|
|
|
|
|
|
|
|
|
public class CalendarPageNavigationArgs
|
2024-11-10 23:28:25 +01:00
|
|
|
{
|
2025-02-16 11:54:23 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// When the app launches, automatically request the default calendar navigation options.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool RequestDefaultNavigation { get; set; }
|
2024-12-28 16:39:43 +01:00
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Display the calendar view for the specified date.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime NavigationDate { get; set; }
|
2026-03-25 13:39:27 +01:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Force reloading the calendar data even when the target range does not change.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ForceReload { get; set; }
|
2026-04-16 01:32:48 +02:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Optional event target to navigate to after the calendar page loads the requested range.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public CalendarItemTarget? PendingTarget { get; set; }
|
2024-11-10 23:28:25 +01:00
|
|
|
}
|