Category / Section
How to change the time ruler size in WinUI Scheduler (Calendar)
Change the time ruler view size by using the TimeRulerSize property of the TimelineViewSettings in the WinUI SfScheduler.
XAML
Bind the appointments to a schedule by using the Scheduler.ItemsSource property, and set the TimeRulerSize as 100 in the TimelineViewSettings to customize the size of the time ruler view.
<scheduler:SfScheduler
ViewType="TimelineWeek"
ItemsSource="{Binding Meetings}">
<scheduler:SfScheduler.AppointmentMapping>
<scheduler:AppointmentMapping
StartTime="From"
EndTime="To"
AppointmentBackground="color"
Subject="EventName">
</scheduler:AppointmentMapping>
</scheduler:SfScheduler.AppointmentMapping>
<scheduler:SfScheduler.TimelineViewSettings>
<scheduler:TimelineViewSettings
TimeRulerSize="100">
</scheduler:TimelineViewSettings>
</scheduler:SfScheduler.TimelineViewSettings>
</scheduler:SfScheduler>
