Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rebeccaXam/XamForms.Controls.Calendar

Custom calendar control for Xamarin.Forms. Customizable border thickness, color, background colors and formats. Version 1.0.8 or lower Built against: 2.1.0.6521 Version 1.1.0 or above Built against: 2.3.4.231
https://github.com/rebeccaXam/XamForms.Controls.Calendar

Last synced: 29 days ago
JSON representation

Custom calendar control for Xamarin.Forms. Customizable border thickness, color, background colors and formats. Version 1.0.8 or lower Built against: 2.1.0.6521 Version 1.1.0 or above Built against: 2.3.4.231

Awesome Lists containing this project

README

        

## PLEASE NOTE: This repository is deprecated and will no longer be maintained.
## New Repository: https://github.com/lubiepomaranczki/XamForms.Controls.Calendar
## Available on NuGet: https://www.nuget.org/packages/XamForms.Enhanced.Calendar/ [![NuGet](https://img.shields.io/nuget/v/XamForms.Enhanced.Calendar.svg?label=NuGet)](hhttps://www.nuget.org/packages/XamForms.Enhanced.Calendar/)

------

## Calendar Control Plugin for Xamarin.Forms

A simple Calendar control for your Xamarin.Forms projects

#### Setup
* Available on NuGet: https://www.nuget.org/packages/XamForms.Controls.Calendar/ [![NuGet](https://img.shields.io/nuget/v/XamForms.Controls.Calendar.svg?label=NuGet)](https://www.nuget.org/packages/XamForms.Controls.Calendar/)
* Install into your PCL project and Client projects.









In your iOS, Android, and Windows projects call:

```
Xamarin.Forms.Init();//platform specific init
XamForms.Controls..Calendar.Init();
```

You must do this AFTER you call Xamarin.Forms.Init();

**IMPORTANT:** I you are having problems like: [When Changing Months, the days do not update properly](https://github.com/rebeccaXam/XamForms.Controls.Calendar/issues/2) in, try adding this to your projects AssemblyInfo.cs:
```
[assembly:Xamarin.Forms.Platform..ExportRenderer(typeof(XamForms.Controls.CalendarButton), typeof(XamForms.Controls..CalendarButtonRenderer))]
```
[Troubleshoot](https://github.com/rebeccaXam/XamForms.Controls.Calendar/wiki#troubleshoot)

#### Usage
Here is a sample:
```
new Calendar
{
BorderColor = Color.Gay,
BorderWidth = 3,
BackgroundColor = Color.Gay,
StartDay = DayOfWeek.Sunday,
StartDate = DateTime.Now
}
```

**XAML:**

First add the xmlns namespace:
```xml
xmlns:controls="clr-namespace:XamForms.Controls;assembly=XamForms.Controls.Calendar"
```

Then add the xaml:

```xml

```
#### Documentation: [Wiki](https://github.com/rebeccaXam/XamForms.Controls.Calendar/wiki)

#### Contributors
* [rebeccaXam](https://github.com/rebeccaXam)

#### License
https://github.com/rebeccaXam/XamForms.Controls.Calendar/blob/master/LICENSE