'Declaration
Public Event UserDeletingAppointment As EventHandler(Of AppointmentActionEventArgs)
public event 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.
Property | Description |
---|---|
Appointment | Gets an Appointment object. |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (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