[]
Selects specified C1.Schedule.Appointment object in the user interface.
public void SelectAppointment(Appointment appointment, bool extendSelection)
Type | Name | Description |
---|---|---|
Appointment | appointment | The C1.Schedule.Appointment object to select. |
bool | extendSelection | The bool value specifying the kind of selection to be made. If true, specified C1.Schedule.Appointment object will be added to the current selection. If false, current selection will be changed by the specified C1.Schedule.Appointment object. |
This method doesn't change or scroll current view. Use GoToDate(DateTime) method to bring desired C1.Schedule.Appointment object into view:
GoToDate(appointment.Start);