New to Telerik UI for WPFStart a free 30-day trial

Represents the state of a drag or resize operation in RadScheduleView.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

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

C#
public IOccurrence Appointment { get; }

Holds a reference to the AppointmentsSource collection of the drag destination.

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

C#
public IEnumerable<Slot> DestinationSlots { get; }

Contains all resource from the starting point of the appointment that is being dragged.

C#
public IEnumerable<IOccurrence> DraggedAppointments { get; }

Gets or sets a value indicating the control key is pressed.

C#
public bool IsControlPressed { get; set; }

Gets the IServiceProvider associated with the current instance.

C#
public IServiceProvider ServiceProvider { get; }

Gets the duration between two minor ticks.

C#
public TimeSpan SlotDuration { get; }

Holds a reference to the AppointmentsSource collection of the drag source.

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

C#
public IEnumerable<IResource> SourceResources { get; }

Holds a reference to the appointment that is dropped over.

C#
public IOccurrence TargetedAppointment { get; }