I am testing out the SfSchedule control and I have been following the documentation. I am able to add appointments to my schedule but I can't seem to see the indicators when in month view.
I'm using a Xamarin Forms PCL and my current set up is:
XAML:
'<schedule:SfSchedule x:Name="schedule"
ShowAppointmentsInline="True"
ScheduleView="MonthView">
<schedule:SfSchedule.MonthViewSettings>
<schedule:MonthViewSettings AppointmentIndicatorCount="6" />
</schedule:SfSchedule.MonthViewSettings>
</schedule:SfSchedule>'
code behind:
'void DummyData()
{
CustomAppointment app1 = new CustomAppointment
{
StartTime = new DateTime(2018, 2, 10, 20, 0, 0),
EndTime = new DateTime(2018, 2, 10, 22, 0, 0),
CustomID = "1234",
Subject = "Test Subject 1",
Color = Color.Green
};
CustomAppointment app2 = new CustomAppointment
{
StartTime = new DateTime(2018, 2, 10, 8, 0, 0),
EndTime = new DateTime(2018, 2, 10, 10, 0, 0),
CustomID = "5678",
Subject = "Test Subject 2",
Color = Color.Blue,
Location = "Somewhere"
};
CustomAppointment app3 = new CustomAppointment
{
StartTime = new DateTime(2018, 2, 11, 20, 0, 0),
EndTime = new DateTime(2018, 2, 12, 8, 0, 0),
CustomID = "1029",
Subject = "Test Subject 1",
Color = Color.Red
};
appointmentCollection.Add(app1);
appointmentCollection.Add(app2);
appointmentCollection.Add(app3);
schedule.DataSource = appointmentCollection;
}'
CustomAppointment extends ScheduleAppointment and only has one additional property "CustomID".
I am able to select the date where I have assigned the appointment and then I can see the appointment but I can't see the indicators showing that an appointment exists. I have attached a screen shot of what I am seeing.
Attachment:
Capture_16885cb3.zip