Skip to main content

SchedulerViewBase.ReverseAppointmentSelection(Appointment) Method

Switches the selection status of the specified appointment.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public void ReverseAppointmentSelection(
    Appointment apt
)

#Parameters

Name Type Description
apt Appointment

An Appointment object that specifies the required appointment.

#Remarks

Use the ReverseAppointmentSelection method to switch the selection state of a specific appointment within the current view.

If the ReverseAppointmentSelection method is called for an appointment which has not been selected, then the appointment is added to the SchedulerControl.SelectedAppointments collection and appears selected within the view.

Calling the ReverseAppointmentSelection method for a selected appointment removes it from the SchedulerControl.SelectedAppointments collection and so makes it appear that it is not selected.

See Also