[]
        
(Showing Draft Content)

C1.Win.C1Schedule.C1Schedule.BeforeAppointmentCreate

BeforeAppointmentCreate Event

Occurs immediately before the new Appointment object is created.

Namespace: C1.Win.C1Schedule
Assembly: C1.Win.C1Schedule.4.8.dll
Syntax
public event CancelAppointmentEventHandler BeforeAppointmentCreate
Returns
Type Description
CancelAppointmentEventHandler Occurs immediately before the new object is created.
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.