Articles in this section
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>

View Sample in GitHub

Days Count

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied