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

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<AppointmentDragResizeViewModel>

A list of AppointmentDragResizeViewModel objects which are view models for dragged apointments.

#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.

See Also