Occurs before the currently selected Appointment is deleted by a user or as a result of the DeleteAppointment method call or receiving the DeleteAppointmentCommand command.

Namespace:  C1.Silverlight.Schedule
Assembly:  C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)

Syntax

C#
public event EventHandler<AppointmentActionEventArgs> UserDeletingAppointment
Visual Basic
Public Event UserDeletingAppointment As EventHandler(Of AppointmentActionEventArgs)

Remarks

Use this event to make custom actions before appointment deletion and/or to implement your own reaction on this event. To prevent a deletion of the appointment, set the e.Handled event argument to True.

See Also