An IConcurrentInputMode that can be added to a MultiplexingInputMode
to suppress other modes from doing unwanted things if the control has just become focused.
Namespace: yWorks.Canvas.InputAssembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
public class FocusGuardInputMode : AbstractConcurrentInputMode |
| Visual Basic |
|---|
Public Class FocusGuardInputMode _ Inherits AbstractConcurrentInputMode |
Remarks
This mode requests the input mutex once the canvas loses focus. And returns the mutex
after the mode has regained focus and the mouse has been clicked or 100 milliseconds have passed.
This mode should be registered with the MultiplexingInputMode
using the AddConcurrent(IConcurrentInputMode, Int32)
method and a large priority number (e.g. 1000). So that other modes don't receive
the input mutex once this one has released the mutex.
Inheritance Hierarchy
System..::..Object
System..::..MarshalByRefObject
System.ComponentModel..::..Component
yWorks.Canvas.Input..::..AbstractInputMode
yWorks.Canvas.Input..::..AbstractConcurrentInputMode
yWorks.Canvas.Input..::..FocusGuardInputMode
System..::..MarshalByRefObject
System.ComponentModel..::..Component
yWorks.Canvas.Input..::..AbstractInputMode
yWorks.Canvas.Input..::..AbstractConcurrentInputMode
yWorks.Canvas.Input..::..FocusGuardInputMode