Hi
Im using the SFCalendar for the first time and am a very inexperienced dev.
I have a WEBAPI that returns data from the GET message in an observable collection of type 'Shift;
public class Shift
{
[PrimaryKey, AutoIncrement]
public int ID { get; set; }
public DateTime WI_Date { get; set; }
public DateTime WI_Start_Time { get; set; }
public DateTime WI_End_Time { get; set; }
public int Practice { get; set; }
public string Rate { get; set; }
public string Paid { get; set; }
public string Revenue { get; set; }
}
I wish to use the SFCalendar to display all the 'shift' records returned from the API..
but im struggling to bind and this is very new to me..
Essentially I wish to data bind to the returning ObervableCollection <Shift> whilst essentially mapping the SFCalendar Event properties ( Start Time, End Time, Subject) to the properties in my data:
So ....
SFCalendar Start Time to bind to Shift WI_Start_Time
SFCalendar End Time to bind to Shift WI_End_Time
SFCalendar Subject to bind to Shift Practice
Any ideas? Example Code please??