ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
<!– Class –> This class represents a menu item of the ContextMenu control.
*System.Object **ThinkGeo.MapSuite.MvcEdition.ContextMenuItem
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
ContextMenuItem | Initializes a new instance of the ContextMenuitem. class. | ||
ContextMenuItem | String | Initializes a new instance of the ContextMenuitem. class with the innerHtml specified. | |
ContextMenuItem | String, String | Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified. | |
ContextMenuItem | String, String, String | Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified. | |
ContextMenuItem | String, String, String, String | Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified. |
| Name | Parameters | DeclaringType | Summary |
|---|
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object |
| Name | Return | DeclaringType | Summary |
|---|---|---|---|
CssClass | String | Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item. | |
HoverCssClass | String | Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item. | |
Id | String | Gets the identifier of the context menu item. | |
InnerHtml | String | Gets or sets the content HTML of the context menu item. | |
MenuItems | GeoKeyedCollection<ContextMenuItem> | Gets the menu item collection of the context menu item. | |
OnClientClick | String | Gets or sets the client-side script that executes when a context menu item's Click event is raised. |
| Name | Return | DeclaringType | Summary |
|---|
| Name | Event Arguments | DeclaringType | Summary |
|---|
Initializes a new instance of the ContextMenuitem. class.
Initializes a new instance of the ContextMenuitem. class.
| Name | Type | Description |
|---|
Initializes a new instance of the ContextMenuitem. class with the innerHtml specified.
Initializes a new instance of the ContextMenuitem. class.
| Name | Type | Description |
|---|---|---|
| innerHtml | String<!– System.String –> | The innerHtml of the context menu item. |
Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified.
Initializes a new instance of the ContextMenuitem. class.
| 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. |
Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.
Initializes a new instance of the ContextMenuitem. class.
| 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. |
Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.
Initializes a new instance of the ContextMenuitem. class.
| 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. |
| Return Type | Description |
|---|---|
| Boolean<!– System.Boolean –> |
| Name | Type | Description |
|---|---|---|
| obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Load this object from a json string.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| jsonString | String<!– System.String –> | a json string |
<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back
| Return Type | Description |
|---|---|
| Int32<!– System.Int32 –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
| Return Type | Description |
|---|---|
| Type<!– System.Type –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
Returns a JSON string that has information for creating the context menu item at the client side.
| Return Type | Description |
|---|---|
| String<!– System.String –> | A JSON string for creating the context menu item at the client side. |
| Name | Type | Description |
|---|
<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back
| Return Type | Description |
|---|---|
| String<!– System.String –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back
Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back
Gets the identifier of the context menu item.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back
Gets or sets the content HTML of the context menu item.
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back
Gets the menu item collection of the context menu item.
| Return Type |
|---|
| GeoKeyedCollection<ContextMenuItem><!– ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{ThinkGeo.MapSuite.MvcEdition.ContextMenuItem} –> |
<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back
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 Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> Go Back