Interface for an object that can be used to drag something displayed in a CanvasControl

Namespace: yWorks.Canvas.Input
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version:


public interface IDragHandler
Visual Basic
Public Interface IDragHandler


Items can be dragged with the mouse and an instance of this class will modify their position accordingly. A drag will trigger the invocation of InitializeDrag(IInputModeContext), zero or more HandleMove(IInputModeContext, PointD, PointD) calls, and will be finalized by either DragFinished(IInputModeContext, PointD, PointD) or CancelDrag(IInputModeContext, PointD).

Related Demo Applications

The following programming samples are available: Also see the yFiles for Silverlight tutorials for step by step introductions.

See Also