User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.contextmenuitem

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.ContextMenuItem

<!– Class –> This class represents a menu item of the ContextMenu control.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodContextMenuItem Initializes a new instance of the ContextMenuitem. class.
Public MethodContextMenuItem String Initializes a new instance of the ContextMenuitem. class with the innerHtml specified.
Public MethodContextMenuItem String, String Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified.
Public MethodContextMenuItem String, String, String Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.
Public MethodContextMenuItem String, String, String, String Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodFromJson String Load this object from a json string.
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToJson Returns a JSON string that has information for creating the context menu item at the client side.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyCssClass String Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item.
Public PropertyHoverCssClass String Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item.
Public PropertyId String Gets the identifier of the context menu item.
Public PropertyInnerHtml String Gets or sets the content HTML of the context menu item.
Public PropertyMenuItems GeoKeyedCollection<ContextMenuItem> Gets the menu item collection of the context menu item.
Public PropertyOnClientClick String Gets or sets the client-side script that executes when a context menu item's Click event is raised.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

ContextMenuItem()

Initializes a new instance of the ContextMenuitem. class.

Overloads

Initializes a new instance of the ContextMenuitem. class.

Parameters

Name Type Description

Go Back

ContextMenuItem(String)

Initializes a new instance of the ContextMenuitem. class with the innerHtml specified.

Overloads

Initializes a new instance of the ContextMenuitem. class.

Parameters

Name Type Description
innerHtml String<!– System.String –> The innerHtml of the context menu item.

Go Back

ContextMenuItem(String, String)

Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified.

Overloads

Initializes a new instance of the ContextMenuitem. class.

Parameters

Name Type Description
innerHtml String<!– System.String –> The innerHtml of the context menu item.
cssClass String<!– System.String –> The CSS class of the context menu item.

Go Back

ContextMenuItem(String, String, String)

Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.

Overloads

Initializes a new instance of the ContextMenuitem. class.

Parameters

Name Type Description
innerHtml String<!– System.String –> The innerHtml of the context menu item.
cssClass String<!– System.String –> The CSS class of the context menu item.
hoverCssClass String<!– System.String –> The CSS class of the context menu item when the mouse is hovering over it.

Go Back

ContextMenuItem(String, String, String, String)

Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.

Overloads

Initializes a new instance of the ContextMenuitem. class.

Parameters

Name Type Description
innerHtml String<!– System.String –> The innerHtml of the context menu item.
cssClass String<!– System.String –> The CSS class of the context menu item.
hoverCssClass String<!– System.String –> The CSS class of the context menu item when the mouse is hovering over it.
id String<!– System.String –> The id of the context menu item.

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

FromJson(String)

Load this object from a json string.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
jsonString String<!– System.String –> a json string

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToJson()

Returns a JSON string that has information for creating the context menu item at the client side.

Return Value

Return Type Description
String<!– System.String –> A JSON string for creating the context menu item at the client side.

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

CssClass

Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back

HoverCssClass

Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back

Id

Gets the identifier of the context menu item.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back

InnerHtml

Gets or sets the content HTML of the context menu item.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back

Gets the menu item collection of the context menu item.

Return Value

Return Type
GeoKeyedCollection<ContextMenuItem><!– ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{ThinkGeo.MapSuite.MvcEdition.ContextMenuItem} –>

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back

OnClientClick

Gets or sets the client-side script that executes when a context menu item's Click event is raised.

Remarks

There is a default parameter:e, which includes one parameter: “worldXY”

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.mvcedition.contextmenuitem.1440040131.txt.gz · Last modified: 2015/09/21 03:32 (external edit)