Posted 18 March 2019, 5:17 pm EST
Hi,
I need to reduce the height of ShowAllDayArea in C1Schedule. Please guide me to achive this functionality.
Thanks
Kalaivanan S
Forums Home / ComponentOne / WinForms Edition
Posted by: C_S.Kalaivanan on 18 March 2019, 5:17 pm EST
Posted 18 March 2019, 5:17 pm EST
Hi,
I need to reduce the height of ShowAllDayArea in C1Schedule. Please guide me to achive this functionality.
Thanks
Kalaivanan S
Posted 19 March 2019, 10:15 pm EST
Hello,
There is no direct property to modify the height of the ShowAllDayArea. I would request you to share a use-case of the requirement so that I can assist you further.
You can share screenshots of how you expect the screen to look like, with the changes you desire.
Thanks,
Esha
Posted 19 March 2019, 11:50 pm EST - Updated 3 October 2022, 4:27 pm EST
Posted 21 March 2019, 9:31 pm EST
Hello,
Thank you for the explanation.
As you are changing the Schedule control itself, along with the application language, the default properties are different for the two controls. To make the intervals in C1Schedule look like your first screenshot, you can set the CalendarInfo.TimeInterval property of C1Schedule as follows:
c1Schedule1.CalendarInfo.TimeInterval = TimeScaleEnum.FifteenMinutes;
This will make the intervals appear at 15 minutes all through the control. It has been implemented in the attached application for your reference.
Note that this requirement is different from ShowAllDayArea property as in the case of ShowAllDayArea, DayView is shown on the control. However, as per your screenshots, the control does not have DayView.
Best Regards,
Esha
C1Schedule_TimeInterval.zip