Switches the selection status of the specified appointment.
public void ReverseAppointmentSelection( Appointment apt )
Public Sub ReverseAppointmentSelection( apt As Appointment )
An Appointment object that specifies the appointment.
Use the ReverseAppointmentSelection method to switch the selection state of a specific appointment in the current View.
If the ReverseAppointmentSelection method is called for an appointment which has not been selected, then the appointment is added to the ASPxScheduler.SelectedAppointments collection and appears selected in the View. As a result, the SchedulerViewBase.SelectedInterval property takes the time interval value that corresponds to the specified appointment.
Calling the ReverseAppointmentSelection method for a selected appointment removes it from the ASPxScheduler.SelectedAppointments collection and so makes it appear unselected. In this case, the selection is applied to the View in the following manner. If the specified appointment was the only selected appointment within the scheduler control, the time interval that corresponds to the specified appointment appears selected. If there was more than one appointment selected, the ReverseAppointmentSelection method is called, no time interval appears selected and only the other appointments in the ASPxScheduler.SelectedAppointments collection are displayed selected within the View.