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

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:

C#
public class SchedulingInteractionState

Inheritance: objectSchedulingInteractionState

Derived Classes: SchedulingDragDropStateSchedulingLinkStateSchedulingResizeState

Constructors

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

C#
public SchedulingInteractionState(bool isControlDown, bool isShiftDown, IDateRange destinationSlot, DateTime timeToDrop, IServiceProvider serviceProvider)
Parameters:isControlDownbool

Indicates whether the Control key is pressed or not.

isShiftDownbool

Indicates whether the Shift key is pressed or not.

destinationSlotIDateRange

The destination slot in the drag and drop operation.

timeToDropDateTime

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

serviceProviderIServiceProvider

The service provider of the drag source.

Fields

C#
public static readonly object UnknownValue

Properties

Gets or sets the destination slot.

C#
public IDateRange DestinationSlot { get; set; }
Property Value:

The destination slot.

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

C#
public bool IsControlDown { get; }

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

C#
public bool IsShiftDown { get; }

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

C#
public DateTime TimeToDrop { get; }