Dear Deivaselvan,
Thank you for your time and help.
The only schedule type that fits my purposes is the TimeLine type. I would need multiple days shown however, so i proceeded and added the ScheduleDateRange to my schedule. While the result looks just like how I wanted it to be, I came across something else. When creating an appointment of a duration less than 2 days, everything looks fine, but once the appointments duration is more than 2 days, the appointments marker gets out of the schedule, as shown on the picture below. Also, at this point, resizing is not working.
So Room1 has an appointment from 2018. 08. 16. 11:00 to 2018. 08. 17. 12:00, which works just as expected. Whereas Room2 has an appointment from 2018. 08. 16. 11:00 to 2018. 08. 18. 11:00 .
My XAML for the calendar looks like this:
<syncfusion:SfSchedule Name="schedule"
FirstDayOfWeek="Monday"
TimeInterval="OneHour"
ScheduleType="TimeLine"
Resource="Rooms"
EnableAutoFormat="False"
MajorTickTimeFormat="hh tt"
ShowNonWorkingHours="False"
WorkStartHour="11"
WorkEndHour="13" >
<syncfusion:SfSchedule.ScheduleResourceTypeCollection >
<syncfusion:ResourceType TypeName="Rooms">
<syncfusion:Resource DisplayName="Room1" ResourceName="Room1"/>
<syncfusion:Resource DisplayName="Room2" ResourceName="Room2"/>
<syncfusion:Resource DisplayName="Room3" ResourceName="Room3"/>
</syncfusion:ResourceType>
</syncfusion:SfSchedule.ScheduleResourceTypeCollection>
</syncfusion:SfSchedule>
And in the .cs I added:
ObservableCollection<DateTime> selectedDates = new ObservableCollection<DateTime>();
selectedDates.Add(DateTime.Today);
selectedDates.Add(DateTime.Today.AddDays(1));
selectedDates.Add(DateTime.Today.AddDays(2));
selectedDates.Add(DateTime.Today.AddDays(3));
selectedDates.Add(DateTime.Today.AddDays(4));
schedule.ScheduleDateRange = selectedDates;
Best regards,
Mark