Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerViewBase.ChangeAppointmentSelection(Appointment) Method

Selects a single appointment.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public virtual void ChangeAppointmentSelection(
    Appointment apt
)

#Parameters

Name Type Description
apt Appointment

An Appointment object to select.

#Remarks

The ChangeAppointmentSelection method can be used to make a specific appointment the only selected appointment within the View (that is 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 based on the newly selected appointment’s settings.

Calling the ChangeAppointmentSelection method results in the SchedulerControl.SelectionChanged event being invoked.

See Also