[]
        
(Showing Draft Content)

C1.Win.Schedule.C1Schedule.SelectAppointment

SelectAppointment Method

SelectAppointment(Appointment, bool)

Selects specified C1.Schedule.Appointment object in the user interface.

Declaration
public void SelectAppointment(Appointment appointment, bool extendSelection)
Parameters
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.

Remarks

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);