An implementation of the IInputMode interface that will display a when the user right clicks on the CanvasControl.Namespace: yWorks.Canvas.Input
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 126.96.36.199
Since there is no default implementation of a context menu in Silverlight 4, a custom implementation needs to be connected to this instance. The methods MenuOpening(CancelEventArgs), MenuClosed()()()() and the event CloseMenu should be used to communicate to this instance whenever the context menu is opened or closed. 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.