Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 2.27 KB

README.md

File metadata and controls

71 lines (47 loc) · 2.27 KB

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