SfSchedule Footer Growing

Is there a way to allow the selected hours in the week view to occupy the entire vertical space?  With the code below, I ended up with a very large footer rather than no footer and each hour just growing to occupy the available space.  Thanks!

<syncfusion:SfSchedule x:Name="_schedule" Grid.Row="1" ScheduleView="WorkWeekView" DataSource="{Binding Appointments}">
  <syncfusion:SfSchedule.AppointmentMapping>
    <syncfusion:ScheduleAppointmentMapping StartTimeMapping="StartDateTime" EndTimeMapping="EndDateTime" SubjectMapping="Subject" ColorMapping="Color" />
  </syncfusion:SfSchedule.AppointmentMapping>
            
  <syncfusion:SfSchedule.WorkWeekViewSettings>
    <syncfusion:WorkWeekViewSettings WorkStartHour="8" WorkEndHour="17" StartHour="7" EndHour="18" />
  </syncfusion:SfSchedule.WorkWeekViewSettings>
</syncfusion:SfSchedule>

3 Replies 1 reply marked as answer

SS SaiGanesh Sakthivel Syncfusion Team December 1, 2020 12:53 PM UTC

Hi Brent, 
 
Thank you for contacting syncfusion support. 
 
#Regarding SfSchedule Footer Growing 
We would like to inform you that you can achieve your requirement of time interval height can be adjusted based on screen height by changing the value of TimeIntervalHeight property to -1. It will auto-fit to the screen height and width. Please refer to the code snippet for your reference. 
 
Code Snippet 
public MainPage() 
{ 
    InitializeComponent(); 
    schedule.TimeIntervalHeight = -1; 
} 
 
Please refer to the UG Documentation about TimeIntervalHeight for your reference. 
 
We hope this helps. 
 
Regards, 
SaiGanesh Sakthivel 


Marked as answer

BN Brent Nelson December 1, 2020 10:05 PM UTC

Looks great!  Thanks!


SS SaiGanesh Sakthivel Syncfusion Team December 2, 2020 12:16 PM UTC

Hi Brent,  
  
Thank you for the update.  
  
We are glad to know that the provided solution is resolved the query. Please let us know if you need any further assistance.  
  
Regards,  
SaiGanesh Sakthivel 


Loader.
Up arrow icon