Scheduler for WinForms | ComponentOne
C1.Win.Schedule.6 Assembly / C1.Win.Schedule Namespace / C1Schedule Class / BeforeAppointmentCreate Event

In This Topic
    BeforeAppointmentCreate Event (C1Schedule)
    In This Topic
    Occurs immediately before the new C1.Schedule.Appointment object is created.
    Syntax
    'Declaration
     
    Public Event BeforeAppointmentCreate As CancelAppointmentEventHandler
    public event CancelAppointmentEventHandler BeforeAppointmentCreate
    Event Data

    The event handler receives an argument of type CancelAppointmentEventArgs containing data related to this event. The following CancelAppointmentEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the Appointment object which the event was raised for.  
    (Inherited from System.ComponentModel.CancelEventArgs)
    Remarks

    CancelAppointmentEventArgs for this event is initialized according to the currently selected view and date. For example:

    Use this event to prevent the appointment creation or to fill-in some additional appointment properties.

    See Also