Skip to main content

SchedulerViewBase.SelectAppointment(Appointment) Method

Makes the specified appointment the only selected appointment within the view, and scrolls to it.

Namespace: DevExpress.Xpf.Scheduler

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

Declaration

public virtual void SelectAppointment(
    Appointment apt
)
Public Overridable Sub SelectAppointment(
    apt As Appointment
)

Parameters

Name Type Description
apt Appointment

A Appointment object that specifies the appointment to be selected.

Remarks

The SelectAppointment method makes a specified appointment the only selected appointment within the view (the SchedulerControl.SelectedAppointments collection will contain the only 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