DragDropState
Represents the state of a drag or resize operation in RadScheduleView.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public sealed class DragDropState
Inheritance: objectDragDropState
Properties
Holds a reference to the appointment that is held with the mouse. When resizing this is the resized appointment.
public IOccurrence Appointment { get; }
Holds a reference to the AppointmentsSource collection of the drag destination.
public IEnumerable DestinationAppointmentsSource { get; }
Gets a collection containing the new slots of the dragged appointments. Each slot corresponds to a appointment in the DraggedAppointments collection, at the same index. When resizing this property is null.
public IEnumerable<Slot> DestinationSlots { get; }
Contains all resource from the starting point of the appointment that is being dragged.
public IEnumerable<IOccurrence> DraggedAppointments { get; }
Gets or sets a value indicating the control key is pressed.
public bool IsControlPressed { get; set; }
Gets the IServiceProvider associated with the current instance.
public IServiceProvider ServiceProvider { get; }
Gets the duration between two minor ticks.
public TimeSpan SlotDuration { get; }
Holds a reference to the AppointmentsSource collection of the drag source.
public IEnumerable SourceAppointmentsSource { get; }
Contains all appointments that are being dragged, including the appointment that is held with the mouse. When resizing this property is null.
public IEnumerable<IResource> SourceResources { get; }
Holds a reference to the appointment that is dropped over.
public IOccurrence TargetedAppointment { get; }