ComponentOne Scheduler for WPF and Silverlight
UserDeletingAppointment Event (C1Scheduler)

C1.WPF.Schedule Namespace > C1Scheduler Class : UserDeletingAppointment Event
Occurs before the currently selected C1.C1Schedule.Appointment is deleted by a user or as a result of the DeleteAppointment method call or receiving the DeleteAppointmentCommand command.
Syntax
'Declaration
 
Public Event UserDeletingAppointment As System.EventHandler(Of AppointmentActionEventArgs)
public event System.EventHandler<AppointmentActionEventArgs> UserDeletingAppointment
Event Data

The event handler receives an argument of type AppointmentActionEventArgs containing data related to this event. The following AppointmentActionEventArgs properties provide information specific to this event.

PropertyDescription
Gets an Appointment object.  
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
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