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