SkyeHoefling / XamCal

A Xamarin.Forms Calendar Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calendar Control for Xamarin.Forms

A Calendar Control for Xamarin.Forms

Setup

  • Available on NuGet: NuGet
  • Install into your PCL/.NET Standard and Client Projects

Build

Screenshots

Sample Project

Platform Support

CircleButtonMenu is available for use in the following supported platforms.

Platform Supported Version
Xamarin.Android Yes TBD +
Xamarin.iOS Yes TBD +

Usage

iOS and Android

Initialize the renderer in the AppDelegate (iOS) and MainActivity (Android)

Xamarin.Forms.Init();
XamCalRenderer.Init();

XAML:

Add the namespace in the xmlns:

xmlns:controls="clr-namespace:XamCal.Abstractions;assembly=XamCal.Abstractions"

Add the control:

TODO show other usages

<controls:Calendar Month="1"
                   Year="2018" />

Bindable Properties

Property Type Description
Month int The current month to render
Year int The current year to render
Events IEnumerable<Event> The events for the selected month/year
DayTemplate DataTemplate A DataTemplate that will render for each day of the month
DaySelected ICommand The ICommand to execute when the user taps on a day

Created By: @Andrew_Hoefling

License

The MIT License (MIT) see License File

About

A Xamarin.Forms Calendar Plugin

License:MIT License


Languages

Language:C# 50.7%Language:PowerShell 35.4%Language:Shell 13.8%