Represents the basic interaction state. It is inherited from the different drag and drop interaction states.
Definition
Namespace:Telerik.Windows.Controls.Scheduling
Assembly:Telerik.Windows.Scheduling.Core.dll
Syntax:
public class SchedulingInteractionState
Inheritance: objectSchedulingInteractionState
Derived Classes:
Constructors
Initializes a new instance of the Telerik.Windows.Controls.Scheduling.SchedulingInteractionState class.
public SchedulingInteractionState(bool isControlDown, bool isShiftDown, IDateRange destinationSlot, DateTime timeToDrop, IServiceProvider serviceProvider)
Indicates whether the Control key is pressed or not.
isShiftDownboolIndicates whether the Shift key is pressed or not.
destinationSlotIDateRangeThe destination slot in the drag and drop operation.
timeToDropDateTimeThe time to drop corresponding to the mouse cursor's position.
serviceProviderIServiceProviderThe service provider of the drag source.
Fields
public static readonly object UnknownValue
Properties
Gets or sets the destination slot.
public IDateRange DestinationSlot { get; set; }
The destination slot.
Gets or sets the state of the Control key in the moment when the DragDropState was created.
public bool IsControlDown { get; }
Gets or sets the state of the Shift key in the moment when the DragDropState was created.
public bool IsShiftDown { get; }
Gets the time to drop corresponding to the mouse cursor's position.
public DateTime TimeToDrop { get; }