User Tools

Site Tools


thinkgeo.mapsuite.webedition.contextmenu

Differences

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

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.webedition.contextmenu [2015/08/20 03:08]
127.0.0.1 external edit
— (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.WebEdition.ContextMenu ====== 
- 
- 
- 
-<!-- Class --> 
-This class represents a right-click shortcut menu used in the map control. 
-=== Remarks === 
-The ContextMenu class represents a right-click shortcut menu which displays when a user right-clicks on a map or an element of a map. Shortcut menus are typically used to combine different menu items that are useful for the user, given the context of the application.Use the &​lt;​strong&​gt;​CssClass&​lt;/​strong&​gt;​ property to customize the appearance of the context menu. The &​lt;​strong&​gt;​MenuItems&​lt;/​strong&​gt;​ property holds the items in the context menu.You can set the &​lt;​strong&​gt;​Width&​lt;/​strong&​gt;​ of the context menu, and the height of the context menu will be automatically ajusted to fit all of the menu's items. 
-===== Inheritance Hierarchy ===== 
-*System.Object 
-**[[ThinkGeo.MapSuite.WebEdition.ContextMenu]] 
-===== Members Summary ===== 
-==== Public Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ContextMenu()|ContextMenu]] ​  ​| ​   |    | Initializes a new instance of the ContextMenu class with no menu items specified. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ContextMenu(String,​ Int32)|ContextMenu]] ​  | String, Int32   ​| ​   | Initializes a new instance of the ContextMenu class with the specified identifier and width. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ContextMenu(String,​ Int32, String)|ContextMenu]] ​  | String, Int32, String ​  ​| ​   | Initializes a new instance of the ContextMenu class with the identifier, width and CSS class string. ​  | 
- 
-==== Protected Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
- 
-==== Public Methods ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​CloneDeep()|CloneDeep]] ​  ​| ​   |    | Creates a deep copy of this ContextMenu object. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Equals(Object)|Equals]] ​  | Object ​  | Object ​  ​| ​   | 
-| {{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 contains information for creating the context menu 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 CSS class of the context menu.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Id|Id]] ​  | String ​  ​| ​   | Gets the identifier of the ContextMenu object. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​MenuItems|MenuItems]] ​  | [[ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection|GeoKeyedCollection]]<​[[ThinkGeo.MapSuite.WebEdition.ContextMenuItem|ContextMenuItem]]> ​  ​| ​   | Gets the menu item collection of the context menu.   | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Width|Width]] ​  | Int32   ​| ​   | Gets or sets the width of the context menu.   | 
- 
-==== Protected Properties ==== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ 
- 
-==== Public Events ==== 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ 
- 
-===== Public Constructors ===== 
-==== ContextMenu() ==== 
-Initializes a new instance of the ContextMenu class with no menu items specified. 
-=== Overloads === 
-Initializes a new instance of the ContextMenu class. 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​ContextMenu.28.29"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​ContextMenu.28.29</​a>​ 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-[[#Public Constructors|Go Back]] 
-==== ContextMenu(String,​ Int32) ==== 
-Initializes a new instance of the ContextMenu class with the specified identifier and width. 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​ContextMenu.28String.2C_Int32.29"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​ContextMenu.28String.2C_Int32.29</​a>​ 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| id   | String<​!-- System.String --> ​  | The key of the context menu in string format. ​  | 
-| width   | Int32<​!-- System.Int32 --> ​  | The width of the context menu.   | 
- 
-[[#Public Constructors|Go Back]] 
-==== ContextMenu(String,​ Int32, String) ==== 
-Initializes a new instance of the ContextMenu class with the identifier, width and CSS class string. 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​ContextMenu.28String.2C_Int32.2C_String.29"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​ContextMenu.28String.2C_Int32.2C_String.29</​a>​ 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| id   | String<​!-- System.String --> ​  | The key of the context menu in string format. ​  | 
-| width   | Int32<​!-- System.Int32 --> ​  | The width of the context menu.   | 
-| cssClass ​  | String<​!-- System.String --> ​  | The CSS class for the context menu.   | 
- 
-[[#Public Constructors|Go Back]] 
-===== Protected Constructors ===== 
-===== Public Methods ===== 
-==== CloneDeep() ==== 
-Creates a deep copy of this ContextMenu object. 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​CloneDeep.28.29"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​CloneDeep.28.29</​a>​ 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| [[ThinkGeo.MapSuite.WebEdition.ContextMenu|ContextMenu]]<​!-- ThinkGeo.MapSuite.WebEdition.ContextMenu --> ​  | A deep copy of the ContextMenu object. ​  | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WebEdition.ContextMenu --> 
-[[#Public Methods|Go Back]] 
-==== Equals(Object) ==== 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​Equals.28Object.29"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​Equals.28Object.29</​a>​ 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Boolean<​!-- System.Boolean --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| obj   | Object<​!-- System.Object --> ​  ​| ​   | 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== GetHashCode() ==== 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​GetHashCode.28.29"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​GetHashCode.28.29</​a>​ 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Int32<​!-- System.Int32 --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== GetType() ==== 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​GetType.28.29"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​GetType.28.29</​a>​ 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Type<!-- System.Type --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== ToJson() ==== 
-Returns a JSON string that contains information for creating the context menu at the client side. 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​ToJson.28.29"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​ToJson.28.29</​a>​ 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  | A string for creating the context menu at the client side.   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- ThinkGeo.MapSuite.WebEdition.ContextMenu --> 
-[[#Public Methods|Go Back]] 
-==== ToString() ==== 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​ToString.28.29"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​ToString.28.29</​a>​ 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-===== Protected Methods ===== 
-==== Finalize() ==== 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​Finalize.28.29"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​Finalize.28.29</​a>​ 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#​Protected Methods|Go Back]] 
-==== MemberwiseClone() ==== 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​MemberwiseClone.28.29"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​MemberwiseClone.28.29</​a>​ 
-=== 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 CSS class of the context menu. 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​CssClass"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​CssClass</​a>​ 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.WebEdition.ContextMenu --> 
-[[#Public Properties|Go Back]] 
-==== Id ==== 
-Gets the identifier of the ContextMenu object. 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​Id"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​Id</​a>​ 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.WebEdition.ContextMenu --> 
-[[#Public Properties|Go Back]] 
-==== MenuItems ==== 
-Gets the menu item collection of the context menu. 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​MenuItems"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​MenuItems</​a>​ 
-=== Return Value === 
-^ Return Type ^ 
-| [[ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection|GeoKeyedCollection]]<​[[ThinkGeo.MapSuite.WebEdition.ContextMenuItem|ContextMenuItem]]><​!-- ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection{ThinkGeo.MapSuite.WebEdition.ContextMenuItem} --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.WebEdition.ContextMenu --> 
-[[#Public Properties|Go Back]] 
-==== Width ==== 
-Gets or sets the width of the context menu. 
-=== Remarks === 
-For the most updated Info for this topic, please check it here:<a href="​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​Width"​ target="​_blank">​http://​wiki.thinkgeo.com/​wiki/​ThinkGeo.MapSuite.WebEdition.ContextMenu#​Width</​a>​ 
-=== Return Value === 
-^ Return Type ^ 
-| Int32<​!-- System.Int32 --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.WebEdition.ContextMenu --> 
-[[#Public Properties|Go Back]] 
-===== Protected Properties ===== 
-===== Public Events ===== 
-__NOTOC__ 
-[[Category:​WebEdition]] 
-[[Category:​ThinkGeo.MapSuite.WebEdition]] 
-[[Category:​UpdateDocumentation]] 
  
thinkgeo.mapsuite.webedition.contextmenu.1440040135.txt.gz ยท Last modified: 2015/09/18 03:07 (external edit)