项目作者: ahoefling

项目描述 :
A Xamarin.Forms Calendar Plugin
高级语言: C#
项目地址: git://github.com/ahoefling/XamCal.git
创建时间: 2018-04-09T01:57:04Z
项目社区:https://github.com/ahoefling/XamCal

开源协议:MIT License

下载


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)

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

XAML:

Add the namespace in the xmlns:

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

Add the control:

TODO show other usages

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

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