ModernXamarinCalendar 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package ModernXamarinCalendar --version 1.0.2                
NuGet\Install-Package ModernXamarinCalendar -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ModernXamarinCalendar" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ModernXamarinCalendar --version 1.0.2                
#r "nuget: ModernXamarinCalendar, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ModernXamarinCalendar as a Cake Addin
#addin nuget:?package=ModernXamarinCalendar&version=1.0.2

// Install ModernXamarinCalendar as a Cake Tool
#tool nuget:?package=ModernXamarinCalendar&version=1.0.2                

GitHub

Setup

Step 1

Install the Nuget Package using Nuget Package Manager or in the Package Manager Console run command:

   Install-Package ModernXamarinCalendar -Version 1.0.2
Step 2

In the XAML content page where you would like the Calendar to go (such as MainPage.xaml), write within the Content Page Tag

   xmlns:control="clr-namespace:ModernXamarinCalendar;assembly=ModernXamarinCalendar"
Step 3

Within your layout in the same XAML Page, place

    <control:WeekControl x:Name="CalendarWeekControl"
                         HorizontalOptions="CenterAndExpand"
                         BackgroundColor="SteelBlue"/>
Step 4

In the c# code for your content page (such as MainPage.xaml.cs)

     public void DateSelectedChanged(object sender, EventArgs e)
     {
         WeekControl calendar = sender as WeekControl;

         // insert code here that you want to use the date selected for...

         // control.DateSelected returns a DateTime for the selected day.

         Debug.WriteLine(calendar.DateSelected.ToString());
     }
Step 5

In the same c# file, write within the constructor

   CalendarWeekControl.DataSelectedChanged += DateSelectedChanged;  
Step 6

Download images from

GitHub - Images - Download this folder for icons for the nuget package

and install them in your project

Options

Show labels for the days of the week (SUN MON TUE WED THU FRI SAT)

In the XAML page, set this property for the WeekControl:

ShowDayName="True"

or in the C# code:

CalendarWeekControl.ShowDayName = true;

(The default value for ShowDayName is false, so not specifying it means the days will not show up).

Notes

The font for the calendar is white, meaning that the calendar must be placed on a somewhat dark background in order to be visible.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 2,350 1/11/2020
1.0.3 501 1/6/2020
1.0.2 574 5/28/2019
1.0.1 541 5/28/2019
1.0.0 526 5/25/2019

Fixed the row width for Calendar Days