Scheduler for WPF | ComponentOne
C1.WPF.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.
    Syntax
    'Declaration
     
    
    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.

    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 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