TimeRuler Configuration
This topic describes how to configure the TimeRuler of the RadScheduler control.
TimeRuler Configuration
There are two key properties that control the Height of the TimeRuler:
MinTimeRulerExtent: Gets or sets the minimum height of the TimeRuler in pixels. If the viewport is smaller than this value, a scrollbar will appear.
MaxTimeRulerExtent: Gets or sets the maximum height of the TimeRuler in pixels. If the viewport is bigger than this value, empty space will appear below the time ruler.
Example 1: Setting the MinTimeRulerExtent and MaxTimeRulerExtent
<telerik:RadScheduler AppointmentsSource="{Binding Appointments}"
MinTimeRulerExtent="300"
MaxTimeRulerExtent="600" >
<telerik:RadScheduler.ViewDefinitions>
<telerik:DayViewDefinition />
<telerik:WeekViewDefinition />
<telerik:TimelineViewDefinition />
</telerik:RadScheduler.ViewDefinitions>
</telerik:RadScheduler>
The height of all TimeSlots cannot be greater than the value of MaxTimeRulerExtent property and cannot be smaller than the value of the MinTimeRulerExtent property.