This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
thinkgeo.mapsuite.webedition.contextmenuitem [2015/09/22 08:48] admin |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ThinkGeo.MapSuite.WebEdition.ContextMenuItem ====== | ||
| - | This class represents a menu item of the ContextMenu control. | ||
| - | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | ||
| - | ***ThinkGeo.MapSuite.WebEdition.ContextMenuItem** | ||
| - | ===== Members Summary ===== | ||
| - | ==== Public Constructors ==== | ||
| - | ** {{wiki:PublicMethod.gif|}} ContextMenuItem() ** | ||
| - | |||
| - | * //Initializes a new instance of the ContextMenuitem. class.// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28.29// | ||
| - | == Parameters == | ||
| - | <div newline></div> | ||
| - | ** {{wiki:PublicMethod.gif|}} ContextMenuItem(String) ** | ||
| - | |||
| - | * //Initializes a new instance of the ContextMenuitem. class with the innerHtml specified.// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.29// | ||
| - | == Parameters == | ||
| - | * //innerHtml// | ||
| - | * Type:String | ||
| - | * Description:The innerHtml of the context menu item. | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:PublicMethod.gif|}} ContextMenuItem(String,String) ** | ||
| - | |||
| - | * //Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified.// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.2C_String.29// | ||
| - | == Parameters == | ||
| - | * //innerHtml// | ||
| - | * Type:String | ||
| - | * Description:The innerHtml of the context menu item. | ||
| - | |||
| - | * //cssClass// | ||
| - | * Type:String | ||
| - | * Description:The CSS class of the context menu item. | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:PublicMethod.gif|}} ContextMenuItem(String,String,String) ** | ||
| - | |||
| - | * //Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.2C_String.2C_String.29// | ||
| - | == Parameters == | ||
| - | * //innerHtml// | ||
| - | * Type:String | ||
| - | * Description:The innerHtml of the context menu item. | ||
| - | |||
| - | * //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. | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:PublicMethod.gif|}} ContextMenuItem(String,String,String,String) ** | ||
| - | |||
| - | * //Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ContextMenuItem.28String.2C_String.2C_String.2C_String.29// | ||
| - | == Parameters == | ||
| - | * //innerHtml// | ||
| - | * Type:String | ||
| - | * Description:The innerHtml of the context menu item. | ||
| - | |||
| - | * //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. | ||
| - | |||
| - | * //id// | ||
| - | * Type:String | ||
| - | * Description:The id of the context menu item. | ||
| - | |||
| - | <div newline></div> | ||
| - | ==== Protected Constructors ==== | ||
| - | ==== Public Methods ==== | ||
| - | ** {{wiki:PublicMethod.gif|}} ToJson() ** | ||
| - | |||
| - | * //Returns a JSON string that has information for creating the context menu item at the client side.// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ToJson.28.29// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:String | ||
| - | * Description:A JSON string for creating the context menu item at the client side. | ||
| - | |||
| - | == Parameters == | ||
| - | <div newline></div> | ||
| - | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#ToString.28.29// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:String | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | <div newline></div> | ||
| - | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#Equals.28Object.29// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Boolean | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //obj// | ||
| - | * Type:Object | ||
| - | * Description:N/A | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#GetHashCode.28.29// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Int32 | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | <div newline></div> | ||
| - | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#GetType.28.29// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Type | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | <div newline></div> | ||
| - | ==== Protected Methods ==== | ||
| - | ** {{wiki:ProtectedMethod.gif|}} 5BM=() ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //N/A// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Void | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}} 5RM=(Object) ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //N/A// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Void | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //target// | ||
| - | * Type:Object | ||
| - | * Description:N/A | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}} xRQ=() ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //N/A// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:[[ThinkGeo.MapSuite.WebEdition.ContextMenuItem|ContextMenuItem]] | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}} xBQ=(String) ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //N/A// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:[[ThinkGeo.MapSuite.WebEdition.ContextMenuItem|ContextMenuItem]] | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //fullId// | ||
| - | * Type:String | ||
| - | * Description:N/A | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}} xhQ=(Double,Double) ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //N/A// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Void | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //lontitude// | ||
| - | * Type:Double | ||
| - | * Description:N/A | ||
| - | |||
| - | * //latitude// | ||
| - | * Type:Double | ||
| - | * Description:N/A | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}} OnClick(ContextMenuItemClickEventArgs) ** | ||
| - | |||
| - | * //Raises the Click event of the ContextMenuItem object.// | ||
| - | == Remarks == | ||
| - | * //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 Value == | ||
| - | * Type:Void | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //e// | ||
| - | * Type:[[ThinkGeo.MapSuite.WebEdition.ContextMenuItemClickEventArgs|ContextMenuItemClickEventArgs]] | ||
| - | * Description:The ContextMenuItemClickEventArgs that contains event data. | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#Finalize.28.29// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Void | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
| - | |||
| - | * //N/A// | ||
| - | == Remarks == | ||
| - | * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#MemberwiseClone.28.29// | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Object | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | <div newline></div> | ||
| - | ==== Public Properties ==== | ||
| - | ** {{wiki:PublicProperty.gif|}} MenuItems ** | ||
| - | |||
| - | Gets the menu item collection of the context menu item. | ||
| - | == Remarks == | ||
| - | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#MenuItems | ||
| - | == Return Value == | ||
| - | * Type:[[ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection<T>[[ThinkGeo.MapSuite.WebEdition.ContextMenuItem, WebEdition, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null]]|GeoKeyedCollection<T>]] | ||
| - | |||
| - | ** {{wiki:PublicProperty.gif|}} Id ** | ||
| - | |||
| - | Gets the identifier of the context menu item. | ||
| - | == Remarks == | ||
| - | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#Id | ||
| - | == Return Value == | ||
| - | * Type:String | ||
| - | |||
| - | ** {{wiki:PublicProperty.gif|}} CssClass ** | ||
| - | |||
| - | Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item. | ||
| - | == Remarks == | ||
| - | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#CssClass | ||
| - | == Return Value == | ||
| - | * Type:String | ||
| - | |||
| - | ** {{wiki:PublicProperty.gif|}} HoverCssClass ** | ||
| - | |||
| - | Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item. | ||
| - | == Remarks == | ||
| - | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#HoverCssClass | ||
| - | == Return Value == | ||
| - | * Type:String | ||
| - | |||
| - | ** {{wiki:PublicProperty.gif|}} OnClientClick ** | ||
| - | |||
| - | Gets or sets the client-side script that executes when a context menu item's Click event is raised. | ||
| - | == Remarks == | ||
| - | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#OnClientClick | ||
| - | == Return Value == | ||
| - | * Type:String | ||
| - | |||
| - | ** {{wiki:PublicProperty.gif|}} InnerHtml ** | ||
| - | |||
| - | Gets or sets the content HTML of the context menu item. | ||
| - | == Remarks == | ||
| - | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#InnerHtml | ||
| - | == Return Value == | ||
| - | * Type:String | ||
| - | |||
| - | ==== Protected Properties ==== | ||
| - | ** {{wiki:ProtectedProperty.gif|}} HasClickEvent ** | ||
| - | |||
| - | Get whether the ContextMenu has the click event. | ||
| - | == Remarks == | ||
| - | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#HasClickEvent | ||
| - | == Return Value == | ||
| - | * Type:Boolean | ||
| - | |||
| - | ==== Public Events ==== | ||
| - | ** {{wiki:PublicEvent.gif|}} Click ** | ||
| - | Occurs when the context menu item is clicked. | ||
| - | == Remarks == | ||
| - | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#OnClick.28ContextMenuItemClickEventArgs.29 | ||
| - | |||
| - | Event Arguments:[[ThinkGeo.MapSuite.WebEdition.ContextMenuItemClickEventArgs|ContextMenuItemClickEventArgs]] | ||
| - | |||
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.