Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
<!– Class –> This class represents a menu item of the ContextMenu control.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem</a>
*System.Object **ThinkGeo.MapSuite.WebEdition.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 |
|---|---|---|---|
Equals | Object | Object | |
GetHashCode | Object | ||
GetType | Object | ||
ToJson | Returns a JSON string that has information for creating the context menu item at the client side. | ||
ToString | Object |
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Finalize | Object | ||
MemberwiseClone | Object | ||
OnClick | ContextMenuItemClickEventArgs | Raises the Click event of the ContextMenuItem 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 |
|---|---|---|---|
HasClickEvent | Boolean | Get whether the ContextMenu has the click event. |
| Name | Event Arguments | DeclaringType | Summary |
|---|---|---|---|
Click | ContextMenuItemClickEventArgs | Occurs when the context menu item is clicked. |
Initializes a new instance of the ContextMenuitem. class.
Initializes a new instance of the ContextMenuitem. class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28.29</a>
| Name | Type | Description |
|---|
Initializes a new instance of the ContextMenuitem. class with the innerHtml specified.
Initializes a new instance of the ContextMenuitem. class.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.29</a>
| 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.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.2C_String.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.2C_String.29</a>
| 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.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.2C_String.2C_String.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.2C_String.2C_String.29</a>
| 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.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.2C_String.2C_String.2C_String.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.2C_String.2C_String.2C_String.29</a>
| 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. |
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#Equals.28Object.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#Equals.28Object.29</a>
| Return Type | Description |
|---|---|
| Boolean<!– System.Boolean –> |
| Name | Type | Description |
|---|---|---|
| obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#GetHashCode.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#GetHashCode.28.29</a>
| Return Type | Description |
|---|---|
| Int32<!– System.Int32 –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#GetType.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#GetType.28.29</a>
| 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.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ToJson.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ToJson.28.29</a>
| Return Type | Description |
|---|---|
| String<!– System.String –> | A JSON string for creating the context menu item at the client side. |
| Name | Type | Description |
|---|
<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItem –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ToString.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ToString.28.29</a>
| Return Type | Description |
|---|---|
| String<!– System.String –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#Finalize.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#Finalize.28.29</a>
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#MemberwiseClone.28.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#MemberwiseClone.28.29</a>
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
Raises the Click event of the ContextMenuItem object.
The <strong>OnClick</strong> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.<strong>Notes to Inheritors:</strong> When overriding <strong>OnClick</strong> in a derived class, be sure to call the base class's <strong>OnClick</strong> method so that registered delegates receive the event.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| e | ContextMenuItemClickEventArgs<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItemClickEventArgs –> | The ContextMenuItemClickEventArgs that contains event data. |
<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItem –> Go Back
Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#CssClass” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#CssClass</a>
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItem –> Go Back
Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#HoverCssClass” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#HoverCssClass</a>
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItem –> Go Back
Gets the identifier of the context menu item.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#Id” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#Id</a>
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItem –> Go Back
Gets or sets the content HTML of the context menu item.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#InnerHtml” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#InnerHtml</a>
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItem –> Go Back
Gets the menu item collection of the context menu item.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#MenuItems” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#MenuItems</a>
| Return Type |
|---|
| GeoKeyedCollection<ContextMenuItem><!– ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{ThinkGeo.MapSuite.WebEdition.ContextMenuItem} –> |
<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItem –> Go Back
Gets or sets the client-side script that executes when a context menu item's Click event is raised.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#OnClientClick” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#OnClientClick</a>
| Return Type |
|---|
| String<!– System.String –> |
<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItem –> Go Back
Get whether the ContextMenu has the click event.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#HasClickEvent” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#HasClickEvent</a>
| Return Type |
|---|
| Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItem –> Go Back
Occurs when the context menu item is clicked.
For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#OnClick.28ContextMenuItemClickEventArgs.29” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#OnClick.28ContextMenuItemClickEventArgs.29</a>
| Event Arguments |
|---|
| ContextMenuItemClickEventArgs<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItemClickEventArgs –> |
<!– ThinkGeo.MapSuite.WebEdition.ContextMenuItem –> Go Back
NOTOC WebEdition ThinkGeo.MapSuite.WebEdition UpdateDocumentation
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.