Change time interval

Hello,

help.syncfusion.com/wpf/scheduler/daysview

I would like to resize the height of the time interval and went on the above link.
This would allow me to have a bigger appointment tile (binded) within the scheduler for example 9.30 to 10.00

Actually the Schedule.DaysViewSettings.Time Interval is not recognized by the code. Any solution regarding this?


WeekSchedule = new SfSchedule();
WeekSchedule.AppointmentTemplate = (DataTemplate)this.Resources["CalendarAppointmentDataTemplate"];
WeekSchedule.HeaderDateFormat = "dddd dd";
WeekSchedule.HorizontalAlignment = HorizontalAlignment.Left;
WeekSchedule.VerticalAlignment = VerticalAlignment.Top;
WeekSchedule.MajorTickTimeFormat = "HH : mm";
WeekSchedule.TimeInterval = TimeInterval.ThirtyMin;                
WeekSchedule.FontFamily = new FontFamily("Global User Interface");
WeekSchedule.ShowAllDay = false;
WeekSchedule.TimeMode = TimeModes.TwentyFourHours;
WeekSchedule.CharacterSpacing = 2;
WeekSchedule.IsHighLightWorkingHours = true;
WeekSchedule.MinorTickVisibility = Visibility.Collapsed;
WeekSchedule.DaysViewSettings.TimeIntervalHeight = 120;  <- this is not recognized

any way to make this happen?


Thanking you in advance


1 Reply 1 reply marked as answer

BT Balamurugan Thirumalaikumar Syncfusion Team March 23, 2021 11:54 AM UTC

Hi Brice, 

Thank you for using Syncfusion products. 

We have checked your query “Actually the Schedule.DaysViewSettings.Time Interval is not recognized by the code. Any solution regarding this?” at our end. you can achieve your requirement by using the schedule property “IntervalHeight” to change the height of the appointment. You can refer the following UG document for your reference. 


Regards, 
Balamurugan Thirumalaikumar  


Marked as answer
Loader.
Up arrow icon