SchedulerDragData(AppointmentBaseCollection, Int32) Constructor
Creates a new instance of the SchedulerDragData class with the specified appointment collection and specifies a primary appointment.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v23.2.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
Declaration
public SchedulerDragData(
AppointmentBaseCollection appointments,
int primaryAppointmentIndex
)
Parameters
Name | Type | Description |
---|---|---|
appointments | AppointmentBaseCollection | An AppointmentBaseCollection object that is the collection of appointments to place in the data to be dragged. |
primaryAppointmentIndex | Int32 | An integer that is the appointment index in the specified collection. An appointment with that index is considered primary. |
Remarks
The specified appointments are contained in the SchedulerDragData.Appointments collection. The primary appointment is an appointment with the SchedulerDragData.PrimaryAppointmentIndex. The index value is passed as a constructor argument.