xaml-sdk/ScheduleView/AvoidOverlappingAppointments
martinivanoff c94f26461f SDK updated 2020-09-24 16:59:02 +03:00
..
Properties Updated examples 2013-09-27 09:39:54 +03:00
App.config Updated examples 2013-09-27 09:39:54 +03:00
App.xaml Updated examples 2013-09-27 09:39:54 +03:00
App.xaml.cs Updated examples 2013-09-27 09:39:54 +03:00
App_SL.xaml Updated examples 2013-09-27 09:39:54 +03:00
App_SL.xaml.cs Updated examples 2013-09-27 09:39:54 +03:00
AvoidOverlappingAppointments_SL.csproj Examples update 2016-05-05 12:15:17 +03:00
AvoidOverlappingAppointments_WPF.csproj Examples update 2016-05-05 12:15:17 +03:00
ConflictCheckingDragDropBehavior.cs Updated examples 2013-09-27 09:39:54 +03:00
Example.xaml Update Examples 2014 Q2 SP1 2014-07-31 17:23:08 +03:00
Example.xaml.cs Updated examples 2015-11-13 11:33:21 +02:00
MainPage.xaml Updated examples 2013-09-27 09:39:54 +03:00
MainPage.xaml.cs Updated examples 2013-09-27 09:39:54 +03:00
MainWindow.xaml Updated examples 2013-09-27 09:39:54 +03:00
MainWindow.xaml.cs Updated examples 2013-09-27 09:39:54 +03:00
Readme.md SDK updated 2020-09-24 16:59:02 +03:00
ViewModel.cs Update Examples 2014 Q2 SP1 2014-07-31 17:23:08 +03:00

Readme.md

Avoid Overlapping Appointments

This example demonstrates how you could prevent overlapping appointments when drag-and-drop or resize an appointment. In order to achieve it you should create a custom DragDropBehavior and check in CanDrop and CanResize methods whether the destination slot contains any appointments. Additionally, you should customize the RecurrenceChoiceDragDropDialog to handle the case when a whole series of a recurrent appointment is dragged.