/wpf-scheduler-hide-non-working-days-in-day-view

Hide non-working days from the Day View and do not allow users to navigate to these days.

Primary LanguageVisual Basic .NETOtherNOASSERTION

WPF Scheduler - Hide Non-Working Days in the Day View

This example hides non-working days (Saturday and Sunday) from the Day View and does not allow users to navigate to these days.

image

Implementation Details

  1. Specify the DayView.Days property to display a custom set of days.

  2. Process the following user navigation types:

    • Left and right arrow keys — Attach the KeyToCommand behavior to the Scheduler.
    • UI navigation — Use the SchedulerControl.Commands property to replace default commands executed when a user uses the Scheduler UI for navigation.
  3. Handle the SchedulerControl.VisibleIntervalsChanged event to adjust visible dates when visible view intervals are changed.

Files to Review

Documentation