XCalendar Versions Save

A plugin for .NET providing an API for representing a calendar along with fully customisable calendar controls for Xamarin Forms and .NET MAUI

4.6.0

2 months ago

The wiki has been updated to 4.6.0

General

  • Added a way to change the culture of the calendar in playground page of sample apps #182
  • Added events to playground page of sample apps
  • Added "DayEventCornerRadius", "DayEventsSpacing", and "DayEventsOrientation" to the "DayView" section of the property editor in playground page of sample apps
  • Changed target framework of console sample from .NET 7 to .NET 8 #184
  • Changed Event Calendar example in sample apps to have events spanning multiple days, and events that don't have an end date
  • Changed readme file to include examples from Forms and MAUI sample apps

Core

  • Added property Events to class Calendar #183
  • Changed interface ICalendarDay and class CalendarDay to take a type parameter indicating the type of events they hold
  • Changed method "UpdateDays" to be virtual in class Calendar

Forms & MAUI

  • Added properties Events, EventCornerRadius, EventsSpacing, EventsOrentation, EventWidthRequest, EventHeightRequest, AutoEventsViewVisibility, EventTemplate, and EventsTemplate to DayView #183
  • Added property DateTime to "NavigationView"#178
  • Changed "CalendarView" and "DaysView" property Days type from IEnumerable<ICalendarDay> to IEnumerable<object> (Due to the generics added to ICalendarDay)

MAUI

  • Added net8 target in Maui projects to allow unit testing #180 (by @scheidtdav)

New Contributors

  • @scheidtdav made their first contribution in #180

Full Changelog: https://github.com/ME-MarvinE/XCalendar/compare/4.5.5...4.6.0

4.5.5

3 months ago

Core

  • Changed Calendar property "Days" from type ObservableCollection to ObservableRangeCollection #175
  • Fixed setting NavigationUpperBound or NavigationLowerBound also setting NavigatedDate to the new value #176

Full Changelog: https://github.com/ME-MarvinE/XCalendar/compare/4.5.4...4.5.5

4.5.4

3 months ago

Core

  • Fixed NavigationLowerBound and NavigationUpperBound not triggering an update to days when changed. This was causing days' IsInvalid property to not always be accurate, especially on initialisation of the Calendar. #172

Full Changelog: https://github.com/ME-MarvinE/XCalendar/compare/4.5.3...4.5.4

4.5.3

5 months ago

General

  • Fixed usage of nameof keyword in some places of sample app

MAUI

  • Updated target framework to .NET 8 #157 (by @migueBarrera)

Full Changelog: https://github.com/ME-MarvinE/XCalendar/compare/4.5.2...4.5.3

4.5.2

8 months ago

General

  • Updated the roadmap in the wiki
  • Added info on how to localise the Calendar/CalendarView in the Displaying Dates page of the wiki.

Core

  • Changed "DateTimeExtensions" to use CultureInfo.CurrentCulture instead of CultureInfo.CurrentUICulture for default optional parameters #160
  • Changed "Calendar" to use CultureInfo.CurrentCulture instead of CultureInfo.CurrentUICulture for default StartOfWeek value #160

Forms & MAUI

  • Added localisation for days of week by #158 (by @migueBarrera)
  • Added LocalizeDayOfWeekAndCharLimitConverter #158 (by @migueBarrera)
  • Renamed "CalendarView" and "NavigationView" properties BackwardsArrowCommand, BackwardsArrowCommandParameter and ForwardsArrowCommand, ForwardsArrowCommandParameter to LeftArrowCommand, LeftArrowCommandParameter and RightArrowCommand, RightArrowCommandParameter #150

New Contributors

Full Changelog: https://github.com/ME-MarvinE/XCalendar/compare/4.5.1...4.5.2

4.5.1

11 months ago

General

  • Changed calendar start of week to Sunday in DuolingoStreakCalendarExample in sample apps #143

Forms

  • Fixed default day background colour not being transparent in DaysView #144

Full Changelog: https://github.com/ME-MarvinE/XCalendar/compare/4.5.0...4.5.1

4.5.0

11 months ago

General

  • Added "ConnectingSelectedDays" example to sample app #127
  • Added "Duolingo Streak Calendar" example to sample app #137
  • Added Github Sponsor option to repo

Core

  • Added a non-generic class for "Calendar" #129

Forms & MAUI

  • Improved CalendarView initialisation/navigation/update speed
  • Added "DefaultStyles" class containing default DayView styles for each DayState. You can easily reference them through the {x:Static} XAML markup extension instead of having to recreate them.
  • Added AutoSetStyleBasedOnDayState property to DayView. When set to false, the DayView will not automatically update the active style when dependent properties like DateTime or DayState change. #133
  • Removed default WidthRequest value of 45
  • Changed default HeightRequest and WidthRequest properties in DayView to be set via a default style instead of on the control directly. Setting the values on the controls directly caused them to override any values set in Triggers, Styles, and Visual States so this fixes that #139
  • Replaced [DayState]BackgroundColor, [DayState]TextColor, [DayState]Command, and [DaySate]CommandParameter properties in DayView with [DayState]Style properties. Now you can change any property of the DayView depending on its state instead of just its BackgroundColor, TextColor, Command, and CommandParameter #132

MAUI

  • Fix layout issues where days in a CalendarView would be cut off due to not having enough space

Full Changelog: https://github.com/ME-MarvinE/XCalendar/compare/4.4.2...4.5.0

4.4.2

1 year ago

Core

  • Moved ObservableRangeCollection from XCalendar.Core.Models to XCalendar.Core.Collections (Should help with name conflicts with XCT and MCT) #119

4.4.1

1 year ago

Forms & MAUI

  • Fixed crash when a null value is provided to StringCharLimitConverter #113
  • [Android] Fixed certain controls causing a crash when opened in release mode #115 (by @Janausch), #116

New Contributors

  • @Janausch made their first contribution in #115

Full Changelog: https://github.com/ME-MarvinE/XCalendar/compare/4.4.0...4.4.1

4.4.0

1 year ago

General

  • Improved XML documentation #109, #110
  • Changed XCalendar.Core.Tests and XCalendarConsoleSample to target .NET 7 #106
  • Changed code to better adhere to C# naming conventions. #104

Forms & MAUI

  • Removed 'EnumToBoolConverter'
  • Added 'IsNullOrEmptyConverter'

Forms

MAUI

Full Changelog: https://github.com/ME-MarvinE/XCalendar/compare/4.3.1...4.4.0