Back to Devexpress

SchedulerControl.SelectedAppointmentsSource Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercontrol-b7f26c2c.md

latest2.6 KB
Original Source

SchedulerControl.SelectedAppointmentsSource Property

Gets or sets the object used as the selected appointments’ source. This is a dependency property.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
[Browsable(false)]
public IList SelectedAppointmentsSource { get; set; }
vb
<Browsable(False)>
Public Property SelectedAppointmentsSource As IList

Property Value

TypeDescription
IList

An object implementing the IList interface that is the selected appointments’ source.

|

Remarks

Use the SelectedAppointmentsSource property to obtain the source of selected appointments .

To retrieve the selected appointments collection, use the SchedulerControl.SelectedAppointments property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedAppointmentsSource property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-scheduler-create-regular-and-recurring-appointments-at-view-model-level/CS/DXApplication14/MainWindow.xaml#L43

xml
<dxsch:SchedulerControl x:Name="scheduler"
                        SelectedAppointmentsSource="{Binding SelectedAppointments}"
                        SelectedInterval="{Binding Interval, Mode=TwoWay}">

See Also

SchedulerControl Class

SchedulerControl Members

DevExpress.Xpf.Scheduling Namespace