User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.contextmenuitem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.mvcedition.contextmenuitem [2015/08/20 03:08]
127.0.0.1 external edit
thinkgeo.mapsuite.mvcedition.contextmenuitem [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.MvcEdition.ContextMenuItem ====== ====== ThinkGeo.MapSuite.MvcEdition.ContextMenuItem ======
  
 +{{section>​upgrade_map_suite_to_10.0}}
  
- 
-<!-- Class --> 
 This class represents a menu item of the ContextMenu control. This class represents a menu item of the ContextMenu control.
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
-*System.Object +  ​*System.Object 
-**[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem]]+    ***ThinkGeo.MapSuite.MvcEdition.ContextMenuItem**
 ===== Members Summary ===== ===== Members Summary =====
 ==== Public Constructors ==== ==== Public Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} ContextMenuItem() ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#ContextMenuItem()|ContextMenuItem]] ​  ​| ​   |    | Initializes a new instance of the ContextMenuitem. class. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ContextMenuItem(String)|ContextMenuItem]] ​  | String ​  ​| ​   | Initializes a new instance of the ContextMenuitem. class with the innerHtml specified. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ContextMenuItem(String,​ String)|ContextMenuItem]] ​  | String, String ​  ​| ​   | Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ContextMenuItem(String,​ String, String)|ContextMenuItem]] ​  | String, String, String ​  ​| ​   | Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ContextMenuItem(String,​ String, String, String)|ContextMenuItem]] ​  | String, String, String, String ​  ​| ​   | Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified. ​  |+
  
-==== Protected Constructors ​==== +  * //​Initializes a new instance of the ContextMenuitem. class.// 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^+== Remarks ​== 
 +  * //N/A// 
 +== Parameters ​== 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} ContextMenuItem(String) **
  
 +  * //​Initializes a new instance of the ContextMenuitem. class with the innerHtml specified.//​
 +== Remarks ==
 +  * //N/A//
 +== 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 ==
 +  * //N/A//
 +== 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 ==
 +  * //N/A//
 +== 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 ==
 +  * //N/A//
 +== 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 ==== ==== Public Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} ToJson() ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#​Equals(Object)|Equals]] ​  | Object ​  | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​FromJson(String)|FromJson]] ​  | String ​  ​| ​   | Load this object from a json string. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetHashCode()|GetHashCode]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#ToJson()|ToJson]] ​  ​| ​   |    | Returns a JSON string that has information for creating the context menu item at the client side.   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString()|ToString]] ​  ​| ​   | Object ​  ​| ​   |+
  
-==== Protected Methods ==== +  * //Returns a JSON string that has information for creating the context menu item at the client side.// 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +== Remarks ​== 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | +  * //N/A//
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   |+
  
-==== Public Properties ==== +== Return Value == 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ +  * Type:String 
-| {{wiki:PublicProperty.gif|Public Property}}[[#​CssClass|CssClass]] ​  ​| ​String ​  |    | Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item.   | +  * Description:A JSON string ​for creating ​the context menu item at the client side.
-| {{wiki:PublicProperty.gif|Public Property}}[[#​HoverCssClass|HoverCssClass]] ​  | String ​  ​| ​   | Gets or sets the Cascading Style Sheet (CSS) class name string ​that applies when the mouse hovers over the menu item.   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Id|Id]] ​  | String ​  ​| ​   | Gets the identifier of the context menu item.   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​InnerHtml|InnerHtml]] ​  | String ​  ​| ​   | Gets or sets the content HTML of the context menu item.   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​MenuItems|MenuItems]] ​  | [[ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection|GeoKeyedCollection]]<​[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]]> ​  ​| ​   | Gets the menu item collection of the context menu item.   | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​OnClientClick|OnClientClick]] ​  | String ​  ​| ​   | Gets or sets the client-side script that executes when a context menu item's Click event is raised  |+
  
-==== Protected Properties ==== +== Parameters ​== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^+<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} FromJson(String) **
  
-==== Public Events ==== +  * //Load this object from a json string.// 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^+== Remarks ​== 
 +  * //N/A//
  
-===== Public Constructors ===== +== Return Value == 
-==== ContextMenuItem() ==== +  ​Type:Void 
-Initializes a new instance of the ContextMenuitem. class. +  Description:N/A
-=== Overloads === +
-Initializes a new instance of the ContextMenuitem. class. +
-=== Parameters === +
-^  Name ^  ​Type ​ ​Description ​^+
  
-[[#Public Constructors|Go Back]] +== Parameters == 
-==== ContextMenuItem(String) ==== +  ​* //​jsonString//​ 
-Initializes a new instance of the ContextMenuitem. class with the innerHtml specified. +    * Type:String 
-=== Overloads === +    * Description:a json string
-Initializes a new instance of the ContextMenuitem. class. +
-=== Parameters ​=== +
-^  Name ^  ​Type ​^  ​Description ​+
-| innerHtml ​  | String<​!-- System.String --> ​  | The innerHtml of the context menu item.   |+
  
-[[#Public Constructors|Go Back]] +<div newline></div> 
-==== ContextMenuItem(String,​ String) ==== +** {{wiki:​PublicMethod.gif|}} ToString() **
-Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified. +
-=== Overloads === +
-Initializes a new instance of the ContextMenuitem. class. +
-=== Parameters === +
-^  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  ​|+
  
-[[#Public Constructors|Go Back]] +  * //N/A// 
-==== ContextMenuItem(String,​ String, String) ==== +== Remarks ​== 
-Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified. +  ​* //N/A//
-=== Overloads === +
-Initializes a new instance of the ContextMenuitem. class. +
-=== Parameters === +
- 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.   |+
  
-[[#Public Constructors|Go Back]] +== Return Value == 
-==== ContextMenuItem(String,​ String, String, String) ​==== +  ​Type:String 
-Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified. +  Description:N/A
-=== Overloads === +
-Initializes a new instance of the ContextMenuitem. class. +
-=== Parameters === +
-^  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.   |+
  
-[[#Public Constructors|Go Back]] +== Parameters ​== 
-===== Protected Constructors ===== +<div newline></​div>​ 
-===== Public Methods ===== +** {{wiki:​PublicMethod.gif|}} ​Equals(Object) ​**
-==== Equals(Object) ​==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Boolean<​!-- System.Boolean --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| obj   | Object<​!-- System.Object --> ​  ​| ​   |+  ​* //N/A//
  
-<!-- System.Object --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Boolean 
-==== FromJson(String) ==== +  * Description:N/A
-Load this object from a json string. +
-=== Return Value === +
-^ Return ​Type Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  ​Description ​+  ​* //obj// 
-| jsonString ​  | String<​!-- System.String --> ​  | a json string ​  |+    * Type:Object 
 +    * Description:N/A
  
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --+<div newline></​div
-[[#Public Methods|Go Back]] +** {{wiki:​PublicMethod.gif|}} GetHashCode() ​**
-==== GetHashCode() ​==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Int32<​!-- System.Int32 --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
-^  Name ^  Type ^  Description ^+== Remarks ​== 
 +  ​* //N/A//
  
-<!-- System.Object --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Int32 
-==== GetType() ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Type<!-- System.Type --> ​  ​| ​   |+
  
-=== Parameters === +== Parameters == 
-^  Name ^  Type ^  Description ^+<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} GetType() **
  
-<!-- System.Object --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== ToJson() ==== +  * //N/A//
-Returns a JSON string that has information for creating the context menu item at the client side. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| String<​!-- System.String --> ​  ​| ​JSON string for creating the context menu item at the client side.   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Type 
 +  Description:N/A
  
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> +== Parameters ​== 
-[[#Public Methods|Go Back]] +<div newline></​div>​ 
-==== ToString() ​==== +==== Protected Methods ​==== 
-=== Return Value === +** {{wiki:​ProtectedMethod.gif|}} QRU=() **
-^ Return Type ^ Description ^ +
-| String<​!-- System.String --> ​  ​| ​   ​|+
  
-=== Parameters === +  * //N/A// 
-^  Name ^  Type ^  Description ^+== Remarks ​== 
 +  ​* //N/A//
  
-<!-- System.Object --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:​[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]] 
-===== Protected Methods ===== +  * Description:​N/​A
-==== Finalize() ==== +
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   ​|+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  Type ^  Description ^+<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} PBU=(String) **
  
-<!-- System.Object --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== MemberwiseClone() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Object<​!-- System.Object --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:​[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]] 
 +  Description:N/A
  
-<!-- System.Object --> +== Parameters ​== 
-[[#​Protected Methods|Go Back]] +  * //fullId// 
-===== Public Properties ===== +    ​* ​Type:String 
-==== CssClass ==== +    * Description:​N/​A
-Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item. +
-=== Return Value === +
-^ Return ​Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --+<div newline></​div
-[[#Public Properties|Go Back]] +** {{wiki:​ProtectedMethod.gif|}} Finalize() **
-==== HoverCssClass ==== +
-Gets or sets the Cascading Style Sheet (CSSclass name string that applies when the mouse hovers over the menu item. +
-=== Return Value === +
-^ Return Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> +  * //N/A// 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== Id ==== +  * //N/A//
-Gets the identifier of the context menu item. +
-=== Return Value === +
-^ Return Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> +== Return Value == 
-[[#Public Properties|Go Back]] +  * Type:Void 
-==== InnerHtml ​==== +  * Description:​N/​A 
-Gets or sets the content HTML of the context menu item+ 
-=== Return Value === +== Parameters ​== 
-^ Return ​Type ^ +<div newline></​div>​ 
-| String<!-- System.String --  ​|+** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  ​* ​Type:Object 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +==== Public Properties ==== 
 +** {{wiki:​PublicProperty.gif|}} MenuItems **
  
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> 
-[[#Public Properties|Go Back]] 
-==== MenuItems ==== 
 Gets the menu item collection of the context menu item. Gets the menu item collection of the context menu item.
-=== Return Value === +== Remarks == 
-^ Return ​Type +N/A 
-[[ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection|GeoKeyedCollection]]<​[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]]><!-- ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{ThinkGeo.MapSuite.MvcEdition.ContextMenuItem--> ​  |+== Return Value == 
 +  ​* ​Type:[[ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection<​T>[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem, MvcEdition, Version=9.0.0.0,​ Culture=neutral,​ PublicKeyToken=null]]|GeoKeyedCollection<T>]] 
 + 
 +** {{wiki:​PublicProperty.gif|}} Id ** 
 + 
 +Gets the identifier of the context menu item. 
 +== Remarks == 
 +N/A 
 +== 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 == 
 +N/A 
 +== 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 == 
 +N/A 
 +== Return Value == 
 +  * Type:​String 
 + 
 +** {{wiki:​PublicProperty.gif|}} OnClientClick **
  
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> 
-[[#Public Properties|Go Back]] 
-==== OnClientClick ==== 
 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 ==
 There is a default parameter:​e,​ which includes one parameter: "​worldXY"​ There is a default parameter:​e,​ which includes one parameter: "​worldXY"​
-=== Return Value === +== Return Value == 
-^ Return ​Type +  ​* ​Type:String
-| String<​!-- System.String ​--> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> +** {{wiki:​PublicProperty.gif|}} InnerHtml ** 
-[[#Public Properties|Go Back]] + 
-===== Protected Properties ​===== +Gets or sets the content HTML of the context menu item
-===== Public Events ====+== Remarks == 
-__NOTOC__ +N/A 
-[[Category:​MvcEdition]] +== Return Value == 
-[[Category:​ThinkGeo.MapSuite.MvcEdition]] +  * Type:​String 
-[[Category:​UpdateDocumentation]]+ 
 +==== Protected Properties ==== 
 +==== Public Events ====
  
thinkgeo.mapsuite.mvcedition.contextmenuitem.1440040131.txt.gz · Last modified: 2015/09/21 03:32 (external edit)