'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.
Property | Description |
---|---|
Appointment | Gets the Appointment object which the event was raised for. |
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
Remarks
CancelAppointmentEventArgs for this event is initialized according to the currently selected view and date. For example:
- If there are some selected slots in the DayView, then Start and End properties will be initialized accordingly.
- If there is a selected day in a WeekView or in a MonthView, the AllDayEvent property will be set to true.
Use this event to prevent the appointment creation or to fill-in some additional appointment properties.
See Also