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

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

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

System..::..Object
  System..::..MarshalByRefObject
    System.ComponentModel..::..Component
      yWorks.Canvas.Input..::..AbstractInputMode
        yWorks.Canvas.Input..::..AbstractConcurrentInputMode
          yWorks.Canvas.Input..::..StateMachineInputMode
            yWorks.Canvas.Input..::..MoveInputMode
              yWorks.yFiles.UI.Input..::..MoveLabelInputMode
              yWorks.yFiles.UI.Input..::..ReparentStripeInputMode

See Also