Class
SchedulingInteractionState

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:

cs-api-definition
public class SchedulingInteractionState

Inheritance: objectSchedulingInteractionState

Derived Classes: SchedulingDragDropStateSchedulingLinkStateSchedulingResizeState

Constructors

SchedulingInteractionState(bool, bool, IDateRange, DateTime, IServiceProvider)

Initializes a new instance of the Telerik.Windows.Controls.Scheduling.SchedulingInteractionState class.

Declaration

cs-api-definition
public SchedulingInteractionState(bool isControlDown, bool isShiftDown, IDateRange destinationSlot, DateTime timeToDrop, IServiceProvider serviceProvider)

Parameters

isControlDown

bool

Indicates whether the Control key is pressed or not.

isShiftDown

bool

Indicates whether the Shift key is pressed or not.

destinationSlot

IDateRange

The destination slot in the drag and drop operation.

timeToDrop

DateTime

The time to drop corresponding to the mouse cursor's position.

serviceProvider

IServiceProvider

The service provider of the drag source.

Fields

UnknownValue

Declaration

cs-api-definition
public static readonly object UnknownValue

Field Value

object

Properties

DestinationSlot

Gets or sets the destination slot.

Declaration

cs-api-definition
public IDateRange DestinationSlot { get; set; }

Property Value

IDateRange

The destination slot.

IsControlDown

Gets or sets the state of the Control key in the moment when the DragDropState was created.

Declaration

cs-api-definition
public bool IsControlDown { get; }

Property Value

bool

IsShiftDown

Gets or sets the state of the Shift key in the moment when the DragDropState was created.

Declaration

cs-api-definition
public bool IsShiftDown { get; }

Property Value

bool

TimeToDrop

Gets the time to drop corresponding to the mouse cursor's position.

Declaration

cs-api-definition
public DateTime TimeToDrop { get; }

Property Value

DateTime