A composite IInputMode implementation that additionally can deal with IConcurrentInputMode instances .

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

Syntax

C#
public class MultiplexingInputMode : AbstractConcurrentInputMode
Visual Basic
Public Class MultiplexingInputMode _ Inherits AbstractConcurrentInputMode

Remarks

Instances of this class can Install(IInputModeContext) and Uninstall(IInputModeContext) multiple IInputModes. Modes added using the Add(IInputMode) methods will be active at all times while IConcurrentInputModes added using the AddConcurrent(IConcurrentInputMode) methods will only be active as long as not one of them owns the InputMutex. By providing priorities to the different modes, the order of their installation can be influenced.
This class itself implements the IConcurrentInputMode interface so that hierarchies of instances of this class can easily be built. This class will request the input mutex if one of its child modes requests the mutex. Also if the instance itself gets disabled, it will stop or cancel the current owner of the mutex.

Inheritance Hierarchy

See Also