This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
thinkgeo.mapsuite.webedition.contextmenuitem [2015/09/18 03:07] admin |
thinkgeo.mapsuite.webedition.contextmenuitem [2017/03/16 21:59] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ThinkGeo.MapSuite.WebEdition.ContextMenuItem ====== | ====== ThinkGeo.MapSuite.WebEdition.ContextMenuItem ====== | ||
| + | |||
| + | {{section>upgrade_map_suite_to_10.0}} | ||
| + | |||
| This class represents a menu item of the ContextMenu control. | This class represents a menu item of the ContextMenu control. | ||
| ===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
| Line 8: | Line 11: | ||
| ** {{wiki:PublicMethod.gif|}} ContextMenuItem() ** | ** {{wiki:PublicMethod.gif|}} ContextMenuItem() ** | ||
| - | Initializes a new instance of the ContextMenuitem. class. | + | * //Initializes a new instance of the ContextMenuitem. class.// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Parameters == | ||
| <div newline></div> | <div newline></div> | ||
| ** {{wiki:PublicMethod.gif|}} ContextMenuItem(String) ** | ** {{wiki:PublicMethod.gif|}} ContextMenuItem(String) ** | ||
| - | Initializes a new instance of the ContextMenuitem. class with the innerHtml specified. | + | * //Initializes a new instance of the ContextMenuitem. class with the innerHtml specified.// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Parameters == | ||
| * //innerHtml// | * //innerHtml// | ||
| Line 26: | Line 29: | ||
| ** {{wiki:PublicMethod.gif|}} ContextMenuItem(String,String) ** | ** {{wiki:PublicMethod.gif|}} ContextMenuItem(String,String) ** | ||
| - | Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified. | + | * //Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified.// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Parameters == | ||
| * //innerHtml// | * //innerHtml// | ||
| Line 41: | Line 44: | ||
| ** {{wiki:PublicMethod.gif|}} ContextMenuItem(String,String,String) ** | ** {{wiki:PublicMethod.gif|}} ContextMenuItem(String,String,String) ** | ||
| - | 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 with innerHtml, CSS class and hover CSS class specified.// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Parameters == | ||
| * //innerHtml// | * //innerHtml// | ||
| Line 60: | Line 63: | ||
| ** {{wiki:PublicMethod.gif|}} ContextMenuItem(String,String,String,String) ** | ** {{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. | + | * //Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Parameters == | ||
| * //innerHtml// | * //innerHtml// | ||
| Line 85: | Line 88: | ||
| ** {{wiki:PublicMethod.gif|}} ToJson() ** | ** {{wiki:PublicMethod.gif|}} ToJson() ** | ||
| - | Returns a JSON string that has information for creating the context menu item at the client side. | + | * //Returns a JSON string that has information for creating the context menu item at the client side.// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Return Value == | ||
| Line 97: | Line 100: | ||
| ** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Return Value == | ||
| Line 109: | Line 112: | ||
| ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Return Value == | ||
| Line 125: | Line 128: | ||
| ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Return Value == | ||
| Line 137: | Line 140: | ||
| ** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Return Value == | ||
| Line 150: | Line 153: | ||
| ** {{wiki:ProtectedMethod.gif|}} 5BM=() ** | ** {{wiki:ProtectedMethod.gif|}} 5BM=() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 162: | Line 165: | ||
| ** {{wiki:ProtectedMethod.gif|}} 5RM=(Object) ** | ** {{wiki:ProtectedMethod.gif|}} 5RM=(Object) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 178: | Line 181: | ||
| ** {{wiki:ProtectedMethod.gif|}} xRQ=() ** | ** {{wiki:ProtectedMethod.gif|}} xRQ=() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 190: | Line 193: | ||
| ** {{wiki:ProtectedMethod.gif|}} xBQ=(String) ** | ** {{wiki:ProtectedMethod.gif|}} xBQ=(String) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 206: | Line 209: | ||
| ** {{wiki:ProtectedMethod.gif|}} xhQ=(Double,Double) ** | ** {{wiki:ProtectedMethod.gif|}} xhQ=(Double,Double) ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// |
| == Return Value == | == Return Value == | ||
| Line 226: | Line 229: | ||
| ** {{wiki:ProtectedMethod.gif|}} OnClick(ContextMenuItemClickEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnClick(ContextMenuItemClickEventArgs) ** | ||
| - | Raises the Click event of the ContextMenuItem object. | + | * //Raises the Click event of the ContextMenuItem object.// |
| == Remarks == | == Remarks == | ||
| - | The OnClick 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.Notes to Inheritors: When overriding OnClick in a derived class, be sure to call the base class's OnClick method so that registered delegates receive the event. | + | * //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 == | == Return Value == | ||
| Line 242: | Line 245: | ||
| ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Return Value == | ||
| Line 254: | Line 257: | ||
| ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
| - | N/A | + | * //N/A// |
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //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 == | == Return Value == | ||
| Line 269: | Line 272: | ||
| Gets the menu item collection of the context menu item. | Gets the menu item collection of the context menu item. | ||
| == Remarks == | == Remarks == | ||
| - | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#MenuItems |
| == Return Value == | == Return Value == | ||
| * Type:[[ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection<T>[[ThinkGeo.MapSuite.WebEdition.ContextMenuItem, WebEdition, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null]]|GeoKeyedCollection<T>]] | * Type:[[ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection<T>[[ThinkGeo.MapSuite.WebEdition.ContextMenuItem, WebEdition, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null]]|GeoKeyedCollection<T>]] | ||
| Line 277: | Line 280: | ||
| Gets the identifier of the context menu item. | Gets the identifier of the context menu item. | ||
| == Remarks == | == Remarks == | ||
| - | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#Id |
| == Return Value == | == Return Value == | ||
| * Type:String | * Type:String | ||
| Line 285: | Line 288: | ||
| Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item. | Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item. | ||
| == Remarks == | == Remarks == | ||
| - | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#CssClass |
| == Return Value == | == Return Value == | ||
| * Type:String | * Type:String | ||
| Line 293: | Line 296: | ||
| Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item. | Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item. | ||
| == Remarks == | == Remarks == | ||
| - | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#HoverCssClass |
| == Return Value == | == Return Value == | ||
| * Type:String | * Type:String | ||
| Line 301: | Line 304: | ||
| Gets or sets the client-side script that executes when a context menu item's Click event is raised. | Gets or sets the client-side script that executes when a context menu item's Click event is raised. | ||
| == Remarks == | == Remarks == | ||
| - | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#OnClientClick |
| == Return Value == | == Return Value == | ||
| * Type:String | * Type:String | ||
| Line 309: | Line 312: | ||
| Gets or sets the content HTML of the context menu item. | Gets or sets the content HTML of the context menu item. | ||
| == Remarks == | == Remarks == | ||
| - | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#InnerHtml |
| == Return Value == | == Return Value == | ||
| * Type:String | * Type:String | ||
| Line 318: | Line 321: | ||
| Get whether the ContextMenu has the click event. | Get whether the ContextMenu has the click event. | ||
| == Remarks == | == Remarks == | ||
| - | N/A | + | For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenuItem#HasClickEvent |
| == Return Value == | == Return Value == | ||
| * Type:Boolean | * Type:Boolean | ||
| Line 326: | Line 329: | ||
| Occurs when the context menu item is clicked. | Occurs when the context menu item is clicked. | ||
| == Remarks == | == Remarks == | ||
| - | N/A | + | 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]] | Event Arguments:[[ThinkGeo.MapSuite.WebEdition.ContextMenuItemClickEventArgs|ContextMenuItemClickEventArgs]] | ||