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
— (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.MvcEdition.ContextMenuItem ====== 
- 
- 
- 
-<!-- Class --> 
-This class represents a menu item of the ContextMenu control. 
-===== Inheritance Hierarchy ===== 
-*System.Object 
-**[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem]] 
-===== Members Summary ===== 
-==== Public Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{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 ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
- 
-==== Public Methods ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{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 ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   | 
- 
-==== Public Properties ==== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ 
-| {{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.   | 
-| {{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 ==== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ 
- 
-==== Public Events ==== 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ 
- 
-===== Public Constructors ===== 
-==== ContextMenuItem() ==== 
-Initializes a new instance of the ContextMenuitem. class. 
-=== Overloads === 
-Initializes a new instance of the ContextMenuitem. class. 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-[[#Public Constructors|Go Back]] 
-==== ContextMenuItem(String) ==== 
-Initializes a new instance of the ContextMenuitem. class with the innerHtml 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.   | 
- 
-[[#Public Constructors|Go Back]] 
-==== ContextMenuItem(String,​ String) ==== 
-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]] 
-==== ContextMenuItem(String,​ String, String) ==== 
-Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class 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.   | 
-| hoverCssClass ​  | String<​!-- System.String --> ​  | The CSS class of the context menu item when the mouse is hovering over it.   | 
- 
-[[#Public Constructors|Go Back]] 
-==== ContextMenuItem(String,​ String, String, String) ==== 
-Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class 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.   | 
-| 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]] 
-===== Protected Constructors ===== 
-===== Public Methods ===== 
-==== Equals(Object) ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Boolean<​!-- System.Boolean --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| obj   | Object<​!-- System.Object --> ​  ​| ​   | 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== FromJson(String) ==== 
-Load this object from a json string. 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| jsonString ​  | String<​!-- System.String --> ​  | a json string ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> 
-[[#Public Methods|Go Back]] 
-==== GetHashCode() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Int32<​!-- System.Int32 --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== GetType() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Type<!-- System.Type --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== ToJson() ==== 
-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 --> ​  | A JSON string for creating the context menu item at the client side.   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> 
-[[#Public Methods|Go Back]] 
-==== ToString() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-===== Protected Methods ===== 
-==== Finalize() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#​Protected Methods|Go Back]] 
-==== MemberwiseClone() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Object<​!-- System.Object --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#​Protected Methods|Go Back]] 
-===== Public Properties ===== 
-==== CssClass ==== 
-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 --> 
-[[#Public Properties|Go Back]] 
-==== HoverCssClass ==== 
-Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item. 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> 
-[[#Public Properties|Go Back]] 
-==== Id ==== 
-Gets the identifier of the context menu item. 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> 
-[[#Public Properties|Go Back]] 
-==== InnerHtml ==== 
-Gets or sets the content HTML of the context menu item. 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> 
-[[#Public Properties|Go Back]] 
-==== MenuItems ==== 
-Gets the menu item collection of the context menu item. 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection|GeoKeyedCollection]]<​[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]]><​!-- ThinkGeo.MapSuite.MvcEdition.GeoKeyedCollection{ThinkGeo.MapSuite.MvcEdition.ContextMenuItem} --> ​  | 
- 
-<!-- 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. 
-=== Remarks === 
-There is a default parameter:​e,​ which includes one parameter: "​worldXY"​ 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> 
-[[#Public Properties|Go Back]] 
-===== Protected Properties ===== 
-===== Public Events ===== 
-__NOTOC__ 
-[[Category:​MvcEdition]] 
-[[Category:​ThinkGeo.MapSuite.MvcEdition]] 
-[[Category:​UpdateDocumentation]] 
  
thinkgeo.mapsuite.mvcedition.contextmenuitem.1440040131.txt.gz ยท Last modified: 2015/09/21 03:32 (external edit)