An input mode that recognizes simple mouse clicks.

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


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


Clients register to Clicked to get notified of mouse clicks. The LeftClick property can be used to switch between the detection of right and left mouse clicks.
This mode can be instructed to swallow clicks if they lead happen shortly after the control gained focus. This is useful to prevent accidental clicks from being processed if the user wanted to put the focus into the control, only.

Inheritance Hierarchy


See Also