Generic IInputMode implementation that can be used to move something in the canvas using the mouse.

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

Syntax

C#
public class MoveInputMode : StateMachineInputMode
Visual Basic
Public Class MoveInputMode _ Inherits StateMachineInputMode

Remarks

This implementation uses the HitTestable to determine where the user can begin dragging the selection. It will then use the Movable and/or PositionHandler to delegate the actual work of moving the elements to.

Inheritance Hierarchy

See Also