In our controls you will find EventToCommandBehavior
that can be used to pass any event to your ViewModel
. More information about EventToCommandBehavior
can be found here
In order to use ReadOnly appointments, you can add IsReadOnly property to your Appointment and use custom DragDropBehavior in which you can prevent Drag operation if the appointment is read-only. Also you can pass ShowDialog
event of RadScheduleView
to your ViewModel
and check if the appointment parameter in the event arguments is read-only appointment. In this case you can cancel dialog's opening.
I've prepared a sample project to illustrate all of the above. Please give it a try and inform us in case you have any problems or concerns.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.