This allows for easier and better customisation of a DayView in a specific DayState. Now, customisation has the same limitations as a Style instead of being restricted to what I choose to add (Previously just TextColor, BackgroundColor, Command, and CommandParameter).
This change also has a few positive side effects:
Added "DefaultStyles" class containing default DayView styles for each DayState. This means you can easily reference them through the {x:Static} XAML markup extension instead of having to recreate them via trial and error or looking at source code.
Improved CalendarView/MonthView initialisation and CalendarView navigation speed
VisualStates were considered but were deemed to not be ideal due to XAML verbosity and Xamarin/MAUI bugs.
This allows for easier and better customisation of a DayView in a specific
DayState
. Now, customisation has the same limitations as aStyle
instead of being restricted to what I choose to add (Previously justTextColor
,BackgroundColor
,Command
, andCommandParameter
).This change also has a few positive side effects:
DayState
. This means you can easily reference them through the {x:Static} XAML markup extension instead of having to recreate them via trial and error or looking at source code.VisualStates were considered but were deemed to not be ideal due to XAML verbosity and Xamarin/MAUI bugs.