Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
This class represents a menu item of the ContextMenu control.
Inheritance Hierarchy
Members Summary
Public Constructors
ContextMenuItem()
Parameters
ContextMenuItem(String)
Parameters
ContextMenuItem(String,String)
Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified.
Parameters
cssClass
Type:String
Description:The
CSS class of the context menu item.
ContextMenuItem(String,String,String)
Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.
Parameters
cssClass
Type:String
Description:The
CSS class of the context menu item.
hoverCssClass
Type:String
Description:The
CSS class of the context menu item when the mouse is hovering over it.
ContextMenuItem(String,String,String,String)
Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.
Parameters
cssClass
Type:String
Description:The
CSS class of the context menu item.
hoverCssClass
Type:String
Description:The
CSS class of the context menu item when the mouse is hovering over it.
Protected Constructors
Public Methods
ToJson()
Return Value
Parameters
FromJson(String)
Return Value
Type:Void
Description:N/A
Parameters
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
Protected Methods
QRU=()
Return Value
Parameters
PBU=(String)
Return Value
Parameters
fullId
Type:String
Description:N/A
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
MenuItems
Gets the menu item collection of the context menu item.
Return Value
Id
Gets the identifier of the context menu item.
Return Value
CssClass
Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item.
Return Value
HoverCssClass
Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item.
Return Value
OnClientClick
Gets or sets the client-side script that executes when a context menu item's Click event is raised.
There is a default parameter:e, which includes one parameter: “worldXY”
Return Value
InnerHtml
Gets or sets the content HTML of the context menu item.
Return Value
Protected Properties
Public Events