This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.mvcedition.contextmenuitemsetting [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.mvcedition.contextmenuitemsetting [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting ====== | ====== ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting ====== | ||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
- | |||
- | <!-- Class --> | ||
A setting for ContextMenuItem that contains APIs to set properties of ContextMenuItem using in MVC view. | A setting for ContextMenuItem that contains APIs to set properties of ContextMenuItem using in MVC view. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | + | *System.Object |
- | * PublicKeyToken=null]] | + | *ThinkGeo.MapSuite.MvcEdition.MvcElementSettingBase`2[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem, MvcEdition, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null],[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting, MvcEdition, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null]] |
- | * Culture=neutral | + | ***ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting** |
- | * Version=9.0.0.0 | + | |
- | ***** MvcEdition | + | |
- | ******[[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting]] | + | |
- | ******* PublicKeyToken=null] | + | |
- | ******** Culture=neutral | + | |
- | ********* Version=9.0.0.0 | + | |
- | ********** MvcEdition | + | |
- | ***********[[ThinkGeo.MapSuite.MvcEdition.MvcElementSettingBase`2[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem]] | + | |
- | ************[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting]] | + | |
===== Members Summary ===== | ===== Members Summary ===== | ||
==== Public Constructors ==== | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} ContextMenuItemSetting(ContextMenuItem) ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ContextMenuItemSetting(ContextMenuItem)|ContextMenuItemSetting]] | [[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]] | | Initializes a new instance of the ContextMenuItemSetting class. | | + | |
+ | * //Initializes a new instance of the ContextMenuItemSetting class.// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | == Parameters == | ||
+ | * //contextMenuItem// | ||
+ | * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]] | ||
+ | * Description:the context menu item which will be assigned to Element property | ||
+ | |||
+ | <div newline></div> | ||
==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | |||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} MenuItems(Action<ContextMenuItemCollection>) ** |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#CssClass(String)|CssClass]] | String | | Set css Class for Element property and retun the ContextMenuItemSetting | | + | |
- | | {{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}}[[#HoverCssClass(String)|HoverCssClass]] | String | | Set hover Css Class for Element property and retun the ContextMenuItemSetting | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Id(String)|Id]] | String | | Set Id for Element property and retun the ContextMenuItemSetting | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#InnerHtml(String)|InnerHtml]] | String | | Set inner Html for Element property and retun the ContextMenuItemSetting | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#MenuItems(Action<ContextMenuItemCollection>)|MenuItems]] | Action<[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemCollection|ContextMenuItemCollection]]> | | Initializes a new instance of the ContextMenuItemSetting class. | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#OnClientClick(String)|OnClientClick]] | String | | Set client Click Script for Element property and retun the ContextMenuItemSetting | | + | |
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
- | ==== Protected Methods ==== | + | * //Initializes a new instance of the ContextMenuItemSetting class.// |
- | ^ 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:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]] |
+ | * Description:N/A | ||
- | ==== Protected Properties ==== | + | == Parameters == |
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * //addItemsAction// |
- | | {{wiki:ProtectedProperty.gif|Protected Property}}[[#Element|Element]] | [[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]] | [[ThinkGeo.MapSuite.MvcEdition.MvcElementSettingBase|MvcElementSettingBase]]<[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]],[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]]> | | | + | * Type:Action<[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemCollection|ContextMenuItemCollection]]> |
+ | * Description:a method that takes ContextMenuItemCollection to do some settings. | ||
- | ==== Public Events ==== | + | <div newline></div> |
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} Id(String) ** |
- | ===== Public Constructors ===== | + | * //Set Id for Element property and retun the ContextMenuItemSetting// |
- | ==== ContextMenuItemSetting(ContextMenuItem) ==== | + | == Remarks == |
- | Initializes a new instance of the ContextMenuItemSetting class. | + | * //N/A// |
- | === Parameters === | + | |
- | ^ Name ^ Type ^ Description ^ | + | |
- | | contextMenuItem | [[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]]<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> | the context menu item which will be assigned to Element property | | + | |
- | [[#Public Constructors|Go Back]] | + | == Return Value == |
- | ===== Protected Constructors ===== | + | * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]] |
- | ===== Public Methods ===== | + | * Description:The setting of ContextMenuItem itself |
- | ==== CssClass(String) ==== | + | |
- | Set css Class for Element property and retun the ContextMenuItemSetting | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]]<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | The setting of ContextMenuItem itself | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //id// |
- | | cssClass | String<!-- System.String --> | A css Class for Element property | | + | * Type:String |
+ | * Description:A id for Element property | ||
- | <!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} CssClass(String) ** |
- | ==== Equals(Object) ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Boolean<!-- System.Boolean --> | | | + | |
- | === Parameters === | + | * //Set css Class for Element property and retun the ContextMenuItemSetting// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | obj | Object<!-- System.Object --> | | | + | * //N/A// |
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]] |
- | ==== GetHashCode() ==== | + | * Description:The setting of ContextMenuItem itself |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Int32<!-- System.Int32 --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //cssClass// |
+ | * Type:String | ||
+ | * Description:A css Class for Element property | ||
- | <!-- System.Object --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} HoverCssClass(String) ** |
- | ==== GetType() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Type<!-- System.Type --> | | | + | |
- | === Parameters === | + | * //Set hover Css Class for Element property and retun the ContextMenuItemSetting// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]] |
- | ==== HoverCssClass(String) ==== | + | * Description:The setting of ContextMenuItem itself |
- | Set hover Css Class for Element property and retun the ContextMenuItemSetting | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]]<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | The setting of ContextMenuItem itself | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //hoverCssClass// |
- | | hoverCssClass | String<!-- System.String --> | A id for Element property | | + | * Type:String |
+ | * Description:A id for Element property | ||
- | <!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} OnClientClick(String) ** |
- | ==== Id(String) ==== | + | |
- | Set Id for Element property and retun the ContextMenuItemSetting | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]]<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | The setting of ContextMenuItem itself | | + | |
- | === Parameters === | + | * //Set client Click Script for Element property and retun the ContextMenuItemSetting// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | id | String<!-- System.String --> | A id for Element property | | + | * //N/A// |
- | <!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]] |
- | ==== InnerHtml(String) ==== | + | * Description:The setting of ContextMenuItem itself |
- | Set inner Html for Element property and retun the ContextMenuItemSetting | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]]<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | The setting of ContextMenuItem itself | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //clientClickScript// |
- | | innerHtml | String<!-- System.String --> | A inner Html for Element property | | + | * Type:String |
+ | * Description:A client Click Script for Element property | ||
- | <!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} InnerHtml(String) ** |
- | ==== MenuItems(Action<ContextMenuItemCollection>) ==== | + | |
- | Initializes a new instance of the ContextMenuItemSetting class. | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]]<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | | | + | |
- | === Parameters === | + | * //Set inner Html for Element property and retun the ContextMenuItemSetting// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
- | | addItemsAction | Action<[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemCollection|ContextMenuItemCollection]]><!-- System.Action{ThinkGeo.MapSuite.MvcEdition.ContextMenuItemCollection} --> | a method that takes ContextMenuItemCollection to do some settings. | | + | * //N/A// |
- | <!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]] |
- | ==== OnClientClick(String) ==== | + | * Description:The setting of ContextMenuItem itself |
- | Set client Click Script for Element property and retun the ContextMenuItemSetting | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | [[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting|ContextMenuItemSetting]]<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | The setting of ContextMenuItem itself | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | * //innerHtml// |
- | | clientClickScript | String<!-- System.String --> | A client Click Script for Element property | | + | * Type:String |
+ | * Description:A inner Html for Element property | ||
- | <!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting --> | + | <div newline></div> |
- | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
- | ==== ToString() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | String<!-- System.String --> | | | + | |
- | === Parameters === | + | * //N/A// |
- | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
+ | * //N/A// | ||
- | <!-- System.Object --> | + | == Return Value == |
- | [[#Public Methods|Go Back]] | + | * Type:String |
- | ===== Protected Methods ===== | + | * Description:N/A |
- | ==== Finalize() ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ Description ^ | + | |
- | | Void<!-- System.Void --> | | | + | |
- | === Parameters === | + | == Parameters == |
- | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
+ | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | <!-- 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:Boolean |
+ | * Description:N/A | ||
- | <!-- System.Object --> | + | == Parameters == |
- | [[#Protected Methods|Go Back]] | + | * //obj// |
- | ===== Public Properties ===== | + | * Type:Object |
- | ===== Protected Properties ===== | + | * Description:N/A |
- | ==== Element ==== | + | |
- | === Return Value === | + | |
- | ^ Return Type ^ | + | |
- | | [[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]]<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenuItem --> | | + | |
- | <!-- ThinkGeo.MapSuite.MvcEdition.MvcElementSettingBase{ThinkGeo.MapSuite.MvcEdition.ContextMenuItem,ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting} --> | + | <div newline></div> |
- | [[#Protected Properties|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
- | ===== Public Events ===== | + | |
- | __NOTOC__ | + | * //N/A// |
- | [[Category:MvcEdition]] | + | == Remarks == |
- | [[Category:ThinkGeo.MapSuite.MvcEdition]] | + | * //N/A// |
- | [[Category:UpdateDocumentation]] | + | |
+ | == Return Value == | ||
+ | * Type:Int32 | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Type | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Protected Methods ==== | ||
+ | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
+ | |||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Object | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ==== Public Properties ==== | ||
+ | ==== Protected Properties ==== | ||
+ | ** {{wiki:ProtectedProperty.gif|}} Element ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItem|ContextMenuItem]] | ||
+ | |||
+ | ==== Public Events ==== | ||