A data structure that holds information about a menuitem in the right click menu

Namespace:  EPiServer
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public RightClickMenuItem(
	string caption,
	string url,
	string javaScript,
	string enabledScript,
	string imageUrl,
	RightClickMode mode,
	string subMenuName
)

Parameters

caption
Type: System..::.String
Text to appear in menu.
url
Type: System..::.String
URL to open on click (can be null).
javaScript
Type: System..::.String
Code to execute on click (can be null).
enabledScript
Type: System..::.String
Code to evaluate to determine if item is active.
imageUrl
Type: System..::.String
URL to item image, null for empty.
mode
Type: EPiServer..::.RightClickMode
Select which mode the item will be visible in.
subMenuName
Type: System..::.String
Name of the sub menu.

See Also