WPF Scheduler - Apply End-User Restrictions
This example handles CustomAllowAppointmentCreate and CustomAllowAppointmentConflicts events and does not allow users to create appointments on a particular time interval and drag existing appointments to it. In this example, the Restrictions ribbon group contains items that allow you to unsubscribe from these events.
Files to Review
- MainWindow.xaml (VB: MainWindow.xaml)
- MainWindow.xaml.cs (VB: MainWindow.xaml.vb)
- RestrictionsViewModel.cs (VB: RestrictionsViewModel.vb)
- SampleData.cs (VB: SampleData.vb)