SchedulerViewBase.ChangeAppointmentSelection(Appointment) Method
Makes the specified appointment the only selected appointment.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
Declaration
public virtual void ChangeAppointmentSelection(
Appointment apt
)
Public Overridable Sub ChangeAppointmentSelection(
apt As Appointment
)
Parameters
| Name | Type | Description |
|---|---|---|
| apt | Appointment | An Appointment object that specifies the appointment to be selected. |
Remarks
The ChangeAppointmentSelection method makes a specified appointment the only selected appointment within the view (the SchedulerControl.SelectedAppointments collection will contain only the specified appointment after calling this method).
The values of the SchedulerViewBase.SelectedInterval, SchedulerControl.SelectedInterval and SchedulerControl.SelectedResource properties are changed, according to the newly selected appointment's settings.
See Also