Class
DragDropState

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

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public sealed class DragDropState

Inheritance: objectDragDropState

Properties

Appointment

Holds a reference to the appointment that is held with the mouse. When resizing this is the resized appointment.

Declaration

cs-api-definition
public IOccurrence Appointment { get; }

Property Value

IOccurrence

DestinationAppointmentsSource

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

Declaration

cs-api-definition
public IEnumerable DestinationAppointmentsSource { get; }

Property Value

IEnumerable

DestinationSlots

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.

Declaration

cs-api-definition
public IEnumerable<Slot> DestinationSlots { get; }

Property Value

IEnumerable<Slot>

DraggedAppointments

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

Declaration

cs-api-definition
public IEnumerable<IOccurrence> DraggedAppointments { get; }

Property Value

IEnumerable<IOccurrence>

IsControlPressed

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

Declaration

cs-api-definition
public bool IsControlPressed { get; set; }

Property Value

bool

ServiceProvider

Gets the IServiceProvider associated with the current instance.

Declaration

cs-api-definition
public IServiceProvider ServiceProvider { get; }

Property Value

IServiceProvider

SlotDuration

Gets the duration between two minor ticks.

Declaration

cs-api-definition
public TimeSpan SlotDuration { get; }

Property Value

TimeSpan

SourceAppointmentsSource

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

Declaration

cs-api-definition
public IEnumerable SourceAppointmentsSource { get; }

Property Value

IEnumerable

SourceResources

Contains all appointments that are being dragged, including the appointment that is held with the mouse. When resizing this property is null.

Declaration

cs-api-definition
public IEnumerable<IResource> SourceResources { get; }

Property Value

IEnumerable<IResource>

TargetedAppointment

Holds a reference to the appointment that is dropped over.

Declaration

cs-api-definition
public IOccurrence TargetedAppointment { get; }

Property Value

IOccurrence