Sets the context menu for the provided mouse tool and mark type.
ASP.NET Ajax Javascript (Usage) | |
---|
var resultVar = instanceOfPageView.setContextMenuForTool(ContextMenu,MarkType,MouseTool); |
Parameters
- menu
- ContextMenu object to set as a context menu.
- markType
-
Specifies the mouse tool to set the context menu for.
- mouseTool
-
Specifies the mouse tool to set the context menu for.
This is optional parameter. In case of missing parameter the method
sets the provided menu for all mouse tools.
Return Value
Method does not return any values.