Class GanttDragDropBehavior
The behavior class responsive for the drag-drop operation in the RadGanttView control.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.GanttView
Assembly: Telerik.Windows.Controls.GanttView.dll
Syntax
public class GanttDragDropBehavior : SchedulingDragDropBehavior, ISchedulingDragDropBehavior
Constructors
GanttDragDropBehavior()
Declaration
public GanttDragDropBehavior()
Methods
CanDrop(SchedulingDragDropState)
Gets the value specifying whether the drag operation can be completed, or not.
Declaration
protected override bool CanDrop(SchedulingDragDropState state)
Parameters
SchedulingDragDropState
state
DragDropState identifying the current drag operation. |
Returns
System.Boolean
True when the drag operation can be finished, otherwise false. |
Overrides
Remarks
This method is called on every mouse move. All properties in the DragDropState are valid.
Drop(SchedulingDragDropState)
When overridden in a derived class completes the drop operation. This method is called only in the context of the drop target control.
Declaration
protected override void Drop(SchedulingDragDropState state)
Parameters
SchedulingDragDropState
state
DragDropState that provides context for the current operation. |
Overrides
Remarks
When the drag source and the drop target are the same control, this method is called before DragCompleted.
TryApplyReorder(SchedulingDragDropState, IDateRange, Object)
This method applies the changes for the reorder operation in the grid section.
Declaration
protected void TryApplyReorder(SchedulingDragDropState state, IDateRange draggedItem, object destinationGroupKey)
Parameters
SchedulingDragDropState
state
The SchedulingInteractionState state used for the operation. |
IDateRange
draggedItem
The item which is being dragged. |
System.Object
destinationGroupKey
The destination groupKey, where the dragged item is being dropped. |