Category / Section
How to customize the Days count in Timeline day view of WPF Scheduler (Calendar)
1 min read
Customize the schedule timeline view day’s count by setting the DaysCount property of the TimelineViewSettings in the WPF Scheduler.
XAML
The DaysCount property is only applicable for the TimelineDay view. The default value of this property is 1.
<Grid> <schedule:SfScheduler x:Name="schedule" ViewType="TimelineDay" ItemsSource="{Binding Appointments}"> <schedule:SfScheduler.TimelineViewSettings> <schedule:TimelineViewSettings DaysCount="2"/> </schedule:SfScheduler.TimelineViewSettings> </schedule:SfScheduler> <interactivity:Interaction.Behaviors> <local:ScheduleBehavior/> </interactivity:Interaction.Behaviors> </Grid>