====== ThinkGeo.MapSuite.WebEdition.ContextMenu ====== {{section>upgrade_map_suite_to_10.0}} This class represents a right-click shortcut menu used in the map control. ===== Inheritance Hierarchy ===== *System.Object ***ThinkGeo.MapSuite.WebEdition.ContextMenu** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} ContextMenu() ** * //Initializes a new instance of the ContextMenu class with no menu items specified.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenu#ContextMenu.28.29// == Parameters ==
** {{wiki:PublicMethod.gif|}} 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:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenu#ContextMenu.28String.2C_Int32.29// == Parameters == * //id// * Type:String * Description:The key of the context menu in string format. * //width// * Type:Int32 * Description:The width of the context menu.
** {{wiki:PublicMethod.gif|}} 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:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenu#ContextMenu.28String.2C_Int32.2C_String.29// == Parameters == * //id// * Type:String * Description:The key of the context menu in string format. * //width// * Type:Int32 * Description:The width of the context menu. * //cssClass// * Type:String * Description:The CSS class for the context menu.
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} CloneDeep() ** * //Creates a deep copy of this ContextMenu object.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenu#CloneDeep.28.29// == Return Value == * Type:[[ThinkGeo.MapSuite.WebEdition.ContextMenu|ContextMenu]] * Description:A deep copy of the ContextMenu object. == Parameters ==
** {{wiki:PublicMethod.gif|}} 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:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenu#ToJson.28.29// == Return Value == * Type:String * Description:A string for creating the context menu at the client side. == Parameters ==
** {{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.ContextMenu#ToString.28.29// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{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.ContextMenu#Equals.28Object.29// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{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.ContextMenu#GetHashCode.28.29// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{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.ContextMenu#GetType.28.29// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} whQ=() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} wxQ=(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //target// * Type:Object * Description:N/A
** {{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
** {{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.ContextMenu#Finalize.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{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.ContextMenu#MemberwiseClone.28.29// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} Id ** Gets the identifier of the ContextMenu object. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenu#Id == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} Width ** Gets or sets the width of the context menu. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenu#Width == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} CssClass ** Gets or sets the CSS class of the context menu. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenu#CssClass == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} MenuItems ** Gets the menu item collection of the context menu. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WebEdition.ContextMenu#MenuItems == Return Value == * Type:[[ThinkGeo.MapSuite.WebEdition.GeoKeyedCollection[[ThinkGeo.MapSuite.WebEdition.ContextMenuItem, WebEdition, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null]]|GeoKeyedCollection]] ==== Protected Properties ==== ==== Public Events ====