The base class for drag-drop operation behaviors for the scheduling controls.
Definition
Namespace:Telerik.Windows.Controls.Scheduling
Assembly:Telerik.Windows.Scheduling.Core.dll
Syntax:
public class SchedulingDragDropBehavior : SchedulingBehaviorBase, ISchedulingDragDropBehavior
Inheritance: objectPlatformIndependentFreezableSchedulingBehaviorBaseSchedulingDragDropBehavior
Derived Classes:
Implements:
Inherited Members
Constructors
public SchedulingDragDropBehavior()
Methods
Gets the value specifying whether the drag operation can be completed, or not.
protected virtual bool CanDrop(SchedulingDragDropState state)
DragDropState identifying the current drag operation.
Returns:True when the drag operation can be finished, otherwise false.
This method is called on every mouse move. All properties in the DragDropState are valid.
Gets the value specifying whether the drag operation can be started, or not.
protected virtual bool CanStartDrag(SchedulingDragDropState state)
DragDropState that provides context for the current operation.
Returns:True when the drag operation can be started, otherwise false.
This method is called only when the drag operation initiated.
Creates a new instance of the SchedulingDragDropBehavior class.
protected override PlatformIndependentFreezable CreateInstanceOverride()
The new SchedulingDragDropBehavior instance.
Overrides:
When overridden in a derived class completes the drop operation. This method is called only in the context of the drop target control.
protected virtual void Drop(SchedulingDragDropState state)
DragDropState that provides context for the current operation.
When the drag source and the drop target are the same control, this method is called before DragCompleted.
Gets the drop position for the reorder based on the overlapping value.
protected virtual DropRelativePosition GetReorderDropPosition(double overlappingValue)
This value indicates how much the dragged item is over the destination item. This value is between 0 and 1.
Returns:Returns DropRelativePosition enum value.