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.Input
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

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
  yWorks.Canvas.Input..::..AbstractInputMode
    yWorks.Canvas.Input..::..AbstractConcurrentInputMode
      yWorks.Canvas.Input..::..FocusGuardInputMode

See Also