Scheduler for UWP | ComponentOne
C1.Xaml.Schedule Namespace / C1Scheduler Class / UserDeletingAppointment Event

In This Topic
    UserDeletingAppointment Event
    In This Topic
    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.
    <C1DescriptionAttribute("C1Scheduler.UserDeletingAppointment", "Occurs before the deleting an appointment by user.")>
    Public Event UserDeletingAppointment As EventHandler(Of AppointmentActionEventArgs)
    [C1Description("C1Scheduler.UserDeletingAppointment", "Occurs before the deleting an appointment by user.")]
    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.

    Gets an Appointment object.  
    Gets or sets a value that indicates the present state of the event handling.  
    (Inherited from Windows.UI.Xaml.RoutedEventArgs)
    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