Skip to main content

SchedulerControl.SelectedAppointments Property

Provides access to the selected appointments.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v22.2.dll

NuGet Package: DevExpress.Wpf.Scheduling


public ObservableCollection<AppointmentItem> SelectedAppointments { get; }

Property Value

Type Description

A collection of AppointmentItem objects.


Use the SelectedAppointments property to obtain the currently selected appointments.

To provide a source to the selected appointments, use the SchedulerControl.SelectedAppointmentsSource property.

The following code snippet demonstrates how to display the selected appointment’s subject values in an application.


The complete sample project How to obtain the appointment, resource or time interval selected by an end-user is available in the DevExpress Examples repository.

<ScrollViewer Grid.Row="0" VerticalScrollBarVisibility="Auto">
    <ItemsControl ItemsSource="{DXBinding '@e(schedulerControl).SelectedAppointments'}">
                <TextBox Background="Beige" Text="{Binding Subject}" />
See Also