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.
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 |
---|---|---|---|
![]() | Initializes a new instance of the ContextMenuitem. class. | ||
![]() | String | Initializes a new instance of the ContextMenuitem. class with the innerHtml specified. | |
![]() | String, String | Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified. | |
![]() | String, String, String | Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified. | |
![]() | 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 |
---|---|---|---|
![]() | Object | Object | |
![]() | Object | ||
![]() | Object | ||
![]() | Returns a JSON string that has information for creating the context menu item at the client side. | ||
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | ||
![]() | Object | ||
![]() | ContextMenuItemClickEventArgs | Raises the Click event of the ContextMenuItem object. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | String | Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item. | |
![]() | String | Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item. | |
![]() | String | Gets the identifier of the context menu item. | |
![]() | String | Gets or sets the content HTML of the context menu item. | |
![]() | GeoKeyedCollection<ContextMenuItem> | Gets the menu item collection of the context menu item. | |
![]() | String | Gets or sets the client-side script that executes when a context menu item's Click event is raised. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Boolean | Get whether the ContextMenu has the click event. |
Name | Event Arguments | DeclaringType | Summary |
---|---|---|---|
![]() | 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