ComponentOne Scheduler for WinForms
SelectAppointment(Appointment,Boolean) Method

C1.Win.C1Schedule.4 Assembly > C1.Win.C1Schedule Namespace > C1Schedule Class : SelectAppointment(Appointment,Boolean) Method
The C1.C1Schedule.Appointment object to select.
The System.Boolean value specifying the kind of selection to be made. If true, specified C1.C1Schedule.Appointment object will be added to the current selection. If false, current selection will be changed by the specified C1.C1Schedule.Appointment object.
Selects specified C1.C1Schedule.Appointment object in the user interface.
Syntax
'Declaration
 
Public Sub SelectAppointment( _
   ByVal appointment As Appointment, _
   ByVal extendSelection As System.Boolean _
) 
public void SelectAppointment( 
   Appointment appointment,
   System.bool extendSelection
)

Parameters

appointment
The C1.C1Schedule.Appointment object to select.
extendSelection
The System.Boolean value specifying the kind of selection to be made. If true, specified C1.C1Schedule.Appointment object will be added to the current selection. If false, current selection will be changed by the specified C1.C1Schedule.Appointment object.
Remarks
This method doesn't change or scroll current view. Use GoToDate method to bring desired C1.C1Schedule.Appointment object into view: GoToDate(appointment.Start);
See Also

Reference

C1Schedule Class
C1Schedule Members