An IInputMode implementation that can be used to grab and drag the viewport of the control it is installed in.

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

Syntax

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

Remarks

This implementation will request the InputMutex as soon as it recognizes a drag with the mouse or touch. Zooming is done with two fingers using the pinch zoom gesture. If the primary pointer is released during pinch, the secondary pointer is used for viewpoint dragging. The pinch zoom then can be restarted by touching another pointer that is recognized as the primary pointer.

Related Demo Applications

See the yFiles for Silverlight tutorials for step by step introductions.

Inheritance Hierarchy

System..::..Object
  yWorks.Canvas.Input..::..AbstractInputMode
    yWorks.Canvas.Input..::..AbstractConcurrentInputMode
      yWorks.Canvas.Input..::..StateMachineInputMode
        yWorks.Canvas.Input..::..MoveViewportInputMode

See Also