An input mode that recognizes simple mouse clicks.

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

Syntax

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

Remarks

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

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

See Also