An input mode that recognizes simple mouse clicks.
Namespace: yWorks.Canvas.InputAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
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.
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
yWorks.Canvas.Input..::..AbstractInputMode
yWorks.Canvas.Input..::..AbstractConcurrentInputMode
yWorks.Canvas.Input..::..StateMachineInputMode
yWorks.Canvas.Input..::..ClickInputMode