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

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

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