AppointmentItemDragDropEventArgs.ViewModels Property
Provides access to the list of View Models for dragged appointments.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
#Declaration
public IList<AppointmentDragResizeViewModel> ViewModels { get; }
#Property Value
Type | Description |
---|---|
IList<Appointment |
A list of Appointment |
#Remarks
The ViewModels collection contains temporary view models created for each appointment that takes part in a drag-and-drop operation. The AppointmentDragResizeViewModel view model properties reflect the appointment property changes when the appointment is dragged. The original appointment for each view model is accessible using the AppointmentEditViewModelBase.Appointment property. When the drop operation is complete, the original appointment is updated with values obtained from view models and the ViewModels collection is cleared.