Creates context menu item with specified title and javascript function name

Namespace:  am.Charts
Assembly:  am.Charts (in am.Charts.dll)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public ContextMenuItem(
	string title,
	string javaScriptFunctionName
)
Visual Basic (Declaration)
Public Sub New ( _
	title As String, _
	javaScriptFunctionName As String _
)
Visual C++
public:
ContextMenuItem(
	String^ title, 
	String^ javaScriptFunctionName
)

Parameters

title
Type: System..::.String
Menu item text. Do not use for title: Show all, Zoom in, Zoom out, Print, Settings...
javaScriptFunctionName
Type: System..::.String
JavaScript function which will be called when user clicks on this menu. You can pass variables, for example: alert('something')

See Also