Skip to content

pictos/Xalendar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xalendar codecov

Xalendar logo

Xalendar is a calendar view for Xamarin.Forms applications. This plugin is under development.

screenshot

Getting Started

Install Xalendar using NuGet with the following command line to your shared library project.

> dotnet add package Xalendar --version 0.0.1-pre

To use the Xalendar component, you'll need to add the following namespace to the top of your XAML views.

xmlns:xalendar="http://xalendar.com/schemas/xaml"

In context of a XAML ContentPage definition.

<ContentPage
    Title="CalendarView Sample"
    x:Class="Xalendar.Sample.MainPage"
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:local="clr-namespace:Xalendar.Sample"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:xalendar="http://xalendar.com/schemas/xaml">

To use the component in your XAML view, you can then define an instance with the following markup.

<xalendar:CalendarView Events="{Binding Events}" />

The Events property is a collection of events on the ViewModel. Events are not the C# Event class, but instead a logical concept of an event (date and time).

public ObservableCollection<ICalendarViewEvent> Events { get; }

Contributors

About

Xalendar: a simple CalendarView for Xamarin.Forms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%