Scheduler for WPF and Silverlight | ComponentOne
C1.Silverlight.Schedule Namespace / C1Scheduler Class / UserEditingAppointment Event

In This Topic
    UserEditingAppointment Event (C1Scheduler)
    In This Topic
    Occurs before the Edit Appointment dialog appears on the screen for editing of an existing appointment, as a result of a double-click on the appointment in one of the default control views, the EditAppointmentDialog method call, or when an EditAppointmentDialogCommand command is received.
    Public Event UserEditingAppointment As EventHandler(Of AppointmentActionEventArgs)
    public event EventHandler<AppointmentActionEventArgs> UserEditingAppointment
    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 System.Windows.RoutedEventArgs)
    Use this event to make custom settings to an editing appointment before it appears on the screen and/or to implement your own reaction on this event, instead of activating a standard dialog window.

    In order to change appointment properties before showing the dialog on a screen, use the appointment object referenced by the e.Appointment event argument.

    To prevent activating a standard dialog window, set the e.Handled event argument to True.

    See Also