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:


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


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


See Also