IDraggingService
Interface
The service supporting the translation of diagram items.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
C#
public interface IDraggingService
Derived Classes:
Properties
Gets the currently dragging models if any.
C#
IEnumerable<IDiagramItem> DraggingModels { get; }
The dragging models.
Gets the currently drag over shape.
C#
IDragDropAware DragOverShape { get; }
The drag over shape.
Determines whether there's a dragging operation in progress.
C#
bool IsDragging { get; }
Methods
Determines whether you can drag to the new point.
Completes the drag.
C#
void CompleteDrag()
Creates the async drag command.
C#
CompositeAsyncStateCommand CreateAsyncDragCommand(IUndoRedoService undoRedoService, IEnumerable<IDiagramItem> items)
The undo redo service.
itemsIEnumerable<IDiagramItem>The items affected.
Returns:Drags to the specified new point.
C#
void Drag(Point newPoint)
The new point.
Initializes the drag.
C#
void InitializeDrag(Point point)
The drag start point.
Starts the drag.
C#
bool StartDrag(IEnumerable<IDiagramItem> models, Point currentPoint)
The models.
currentPointPointThe current point.
Returns:Events
Occurs on drag complete.
C#
event EventHandler<PositionChangedEventArgs> CompleteDragging
Occurs on drag enter.
C#
event EventHandler<DragItemsEventArgs> DragEnter
Occurs when dragging.
C#
event EventHandler<PositionChangedEventArgs> Dragging
Occurs on drag leave.
C#
event EventHandler<DragItemsEventArgs> DragLeave
Occurs on drop.
C#
event EventHandler<DragItemsEventArgs> Drop
Occurs on drag start.
C#
event EventHandler<CancelingPositionChangedEventArgs> StartDragging