An implementation of the IInputMode interface that will
display a ContextMenu when the user right clicks on the
CanvasControl.
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 ContextMenuInputMode : AbstractConcurrentInputMode |
| Visual Basic |
|---|
Public Class ContextMenuInputMode _ Inherits AbstractConcurrentInputMode |
Remarks
One can register a callback that can be used to customize the
contents of the menu strip depending on the coordinate in the world coordinate
system where the menu strip has been opened.
Related Demo Applications
Inheritance Hierarchy
System..::..Object
yWorks.Canvas.Input..::..AbstractInputMode
yWorks.Canvas.Input..::..AbstractConcurrentInputMode
yWorks.Canvas.Input..::..ContextMenuInputMode
yWorks.Canvas.Input..::..AbstractInputMode
yWorks.Canvas.Input..::..AbstractConcurrentInputMode
yWorks.Canvas.Input..::..ContextMenuInputMode