Category / Section
How to customize the leading and trailing days visibility in WPF Scheduler (Calendar)
4 mins read
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>