IGuiFactoryServiceShowContextMenu Method |
Creates and shows a context menu.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax void ShowContextMenu(
Object parent,
Object owner,
string addInTreePath,
double x,
double y
)
Parameters
- parent Object
- The parent gui element.
- owner Object
- The object that will be owner of this context menu.
- addInTreePath String
- Add in tree path used to build the context menu.
- x Double
- The x coordinate of the location where to show the context menu.
- y Double
- The y coordinate of the location where to show the context menu.
Return Value
The context menu. Returns Null if there is no registered context menu provider
See Also