[]
        
(Showing Draft Content)

C1.Win.C1Schedule.C1Schedule.SelectAppointment

SelectAppointment Method

SelectAppointment(Appointment, bool)

Selects specified Appointment object in the user interface.

Declaration
public void SelectAppointment(Appointment appointment, bool extendSelection)
Parameters
Type Name Description
Appointment appointment

The Appointment object to select.

bool extendSelection

The bool value specifying the kind of selection to be made. If true, specified Appointment object will be added to the current selection. If false, current selection will be changed by the specified Appointment object.

Remarks

This method doesn't change or scroll current view. Use GoToDate(DateTime) method to bring desired Appointment object into view:

GoToDate(appointment.Start);