Hi Vishal,
As of now, we don’t have support of “Hiding TimeSlots in Schedule” Xamarin.Forms.
We have provided support to “Set range for time slots (start hour and end hour)”. Using this support, you can set the required range to the timeslots, for example by setting the start hour and end hour to the view settings, you can able to view only particular timeslots. Please refer the following code example for the same,
|
[c#]
DayViewSettings dayViewSettings = new DayViewSettings();
DayLabelSettings dayLabelSettings = new DayLabelSettings();
dayLabelSettings.TimeFormat = "hh:mm";
dayViewSettings.StartHour = 10.5;
dayViewSettings.EndHour = 18.5;
dayViewSettings.DayLabelSettings = dayLabelSettings;
schedule.DayViewSettings = dayViewSettings;
|
As per the above code, you can able view only 10.30 to 18.30 in the timeslots. We have mentioned limitations regarding the same in our online user guide documentation,
Note: As we mentioned in our earlier updates, we have already considered, and logged feature report the support of “Hiding schedule timeslot Ranges in Schedule”. We will implement this feature in any our upcoming Volume release.
Regards,
Subburaj Pandian V