Allows you to set the source object for a newly created appointment.
public event CreateSourceObjectEventHandler CreateSourceObject
Public Event CreateSourceObject As CreateSourceObjectEventHandler
The CreateSourceObject event's data class is CreateSourceObjectEventArgs. The following properties provide information specific to this event:
|Instance||Gets or sets the appointment's source object.|
|Item||Obsolete. Gets the newly created appointment.|
|ItemType||Returns the type of the created source object.|
When a new appointment is created, the scheduler automatically creates an object that represents an appointment in the bound data source and performs an Insert operation to store appointment data. The source object is available using the AppointmentItem.SourceObject property. However, you can create a source object manually by handling the CreateSourceObject event.