Calendar: Control Height and Business Hours (HeightSpec)

HeightSpec property specifies how the control height will be determined.

Demo

HeightSpec="BusinessHours" (Default)

calendar-heighspec-businesshours.png

  • Height: Calculated automatically to show the business hours range defined using BusinessBeginsHour and BusinessEndsHour.
  • Non-business hours: visible
  • Scrollbar: visible

HeightSpec="BusinessHoursNoScroll"

calendar-heighspec-businesshoursnoscroll.png

  • Height: Calculated automatically to show the business hours range defined using BusinessBeginsHour and BusinessEndsHour.
  • Non-business hours: hidden
  • Scrollbar: hidden

HeighSpec="Fixed"

calendar-heighspec-fixed.png

  • Height: Specified in Height property (pixels).
  • Non-business hours: visible
  • Scrollbar: visible

HeightSpec="Full"

calendar-heighspec-full.png

  • Height: Calculated automatically to show all 24 hours of a day.
  • Non-business hours: visible
  • Scrollbar: hidden

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java