Articles in this section

How to customize the leading and trailing days visibility in WPF Scheduler (Calendar)

You can customize the leading and trailing days visibility of the scheduler month view by using the LeadingDaysVisibility and the TrailingDaysVisibility property of MonthViewSettings in WPF SfScheduler.

XAML

To customize the leading and trailing days visibility of the scheduler month view by setting the LeadingDaysVisibility and TrailingDaysVisibility property to Collapsed.

<Window.DataContext>
    <local:SchedulerViewModel/>
</Window.DataContext>
    <Grid>
        <syncfusion:SfScheduler x:Name="Schedule"
                                                ViewType="Month">
            <syncfusion:SfScheduler.MonthViewSettings>
                <syncfusion:MonthViewSettings
                LeadingDaysVisibility="Collapsed"
                TrailingDaysVisibility="Collapsed"/>
            </syncfusion:SfScheduler.MonthViewSettings>
        </syncfusion:SfScheduler>
    </Grid>
</Window>   

View sample in GitHub

Demo image for trailing and leading days

 

 

 

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