Class DragDropState
Represents the state of a drag or resize operation in RadScheduleView.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public sealed class DragDropState : Object
Properties
Appointment
Holds a reference to the appointment that is held with the mouse. When resizing this is the resized appointment.
Declaration
public IOccurrence Appointment { get; }
Property Value
IOccurrence
|
DestinationAppointmentsSource
Holds a reference to the AppointmentsSource collection of the drag destination.
Declaration
public IEnumerable DestinationAppointmentsSource { get; }
Property Value
System.Collections.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
public IEnumerable<Slot> DestinationSlots { get; }
Property Value
System.Collections.Generic.IEnumerable<Slot>
|
DraggedAppointments
Contains all resource from the starting point of the appointment that is being dragged.
Declaration
public IEnumerable<IOccurrence> DraggedAppointments { get; }
Property Value
System.Collections.Generic.IEnumerable<IOccurrence>
|
IsControlPressed
Gets or sets a value indicating the control key is pressed.
Declaration
public bool IsControlPressed { get; set; }
Property Value
System.Boolean
|
ServiceProvider
Gets the IServiceProvider associated with the current instance.
Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
IServiceProvider
|
SlotDuration
Gets the duration between two minor ticks.
Declaration
public TimeSpan SlotDuration { get; }
Property Value
System.TimeSpan
|
SourceAppointmentsSource
Holds a reference to the AppointmentsSource collection of the drag source.
Declaration
public IEnumerable SourceAppointmentsSource { get; }
Property Value
System.Collections.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
public IEnumerable<IResource> SourceResources { get; }
Property Value
System.Collections.Generic.IEnumerable<IResource>
|
TargetedAppointment
Holds a reference to the appointment that is dropped over.
Declaration
public IOccurrence TargetedAppointment { get; }
Property Value
IOccurrence
|