Skip to main content

SchedulerControl.SelectedAppointmentsBindable Property

Gets or sets the collection of appointments currently selected within a View. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduler

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

#Declaration

public ObservableCollection<Appointment> SelectedAppointmentsBindable { get; set; }

#Property Value

Type Description
ObservableCollection<Appointment>

A System.Collections.ObjectModel.ObservableCollection<T> with Appointment objects as collection items.

#Remarks

When engineering a WPF application using the MVVM architectural pattern, you may be required to specify selected items in a View Model. In this instance, a collection of selected items should be initialized in the View Model before it is bound to the SchedulerControl's SelectedAppointmentsBindable property. Otherwise, it will not be populated with items selected within the scheduler.

If you use an observable collection that implements the DevExpress.Mvvm.ILocable interface (for example, the DevExpress.Xpf.Core.ObservableCollectionCore<T> instance), the SchedulerControl modifies the collection's items within the BeginUpdate - EndUpdate method pair. Therefore, you will receive the notification of changes only once.

See Also