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

In This Topic
    UserEditingAppointment Event
    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
     
    
    <C1DescriptionAttribute("C1Scheduler.UserEditingAppointment", "Occurs before the Edit Appointment dialog will appear on a screen for editing of an existent appointment.")>
    <C1CategoryAttribute("Appointment")>
    Public Event UserEditingAppointment As EventHandler(Of AppointmentActionEventArgs)
    [C1Description("C1Scheduler.UserEditingAppointment", "Occurs before the Edit Appointment dialog will appear on a screen for editing of an existent appointment.")]
    [C1Category("Appointment")]
    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.  
    Gets or sets a value that indicates the present state of the event handling.  
    (Inherited from Windows.UI.Xaml.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