From 17dfe8fc8a6ab85cbdb185af79abd3dc50535b67 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 9 Jan 2023 12:03:52 +0100 Subject: [PATCH] Inizio gestione mese --- GPW.CORE.Comp/CalendarMonth.razor | 23 +++++++++++++++++++++++ GPW.CORE.Comp/CalendarMonth.razor.cs | 0 2 files changed, 23 insertions(+) create mode 100644 GPW.CORE.Comp/CalendarMonth.razor create mode 100644 GPW.CORE.Comp/CalendarMonth.razor.cs diff --git a/GPW.CORE.Comp/CalendarMonth.razor b/GPW.CORE.Comp/CalendarMonth.razor new file mode 100644 index 0000000..a0f0ba1 --- /dev/null +++ b/GPW.CORE.Comp/CalendarMonth.razor @@ -0,0 +1,23 @@ + + + + + + +
+ +@code { + + /// + /// Css sfondo principale + /// default: bg-dark + /// + [Parameter] + public string MainCss { get; set } = "bg-dark"; + + [Parameter] + public DateOnly DtStart { get; set; } = DateOnly.FromDateTime(DateTime.Today); + + [Parameter] + public DateOnly DtEnd { get; set; } = DateOnly.FromDateTime(DateTime.Today.AddMonths(1)); +} diff --git a/GPW.CORE.Comp/CalendarMonth.razor.cs b/GPW.CORE.Comp/CalendarMonth.razor.cs new file mode 100644 index 0000000..e69de29