Calendar Appointments

2 posts, 0 answers
  1. Wiseman
    Wiseman avatar
    1 posts
    Member since:
    Feb 2016

    Posted 29 Aug 2016 Link to this post

    Good Day

    Can you help me please I am creating a calendar app in Xamarin Forms.

    Is it possible to bind the Calendar appointments into API instead of this:

    calendar.AppointmentsSource = new List<Appointment>()


    new Appointment() {StartDate = DateTime.Today.AddDays(1),

    EndDate = DateTime.Today.AddDays(2).AddTicks(-1),

    Title = "Mom's Birthday",Color = Color.Red },

    new Appointment() {

    StartDate = DateTime.Today.AddDays(3).AddHours(17),

    EndDate = DateTime.Today.AddDays(3).AddHours(22),

    Title = "Big Game",Color = Color.Green },

    new Appointment() {

    StartDate = DateTime.Today.AddDays(11).AddHours(20),

     EndDate = DateTime.Today.AddDays(12).AddHours(4),

    Title = "Progress Party",Color = Color.Red



    Having my class like this:

    public class Appointment : IAppointment


    public DateTime ToDate{ get; set; }

    public DateTime FromDat{ get; set; }

    public string Subject{ get; set; }


    if it possible please can you guide me since I am new to Xamarin



  2. Tsvyatko
    Tsvyatko avatar
    863 posts

    Posted 31 Aug 2016 Link to this post

    Hi Wiseman,

    Thank you for contacting us! You can find an appointments setup in xaml that uses binding in our QSF sample application. Its source code is located in the components installation folder - [Program Files]\Telerik\UI for Xamarin R2 2016\QSF\.

    The sample itself is located in Examples\Calendar\Appointments subfolder.

    Give it a try and let us know if this helps.

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top