====== ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting ====== {{section>upgrade_map_suite_to_10.0}} A setting for ContextMenu that contains APIs to set properties of ContextMenu using in MVC view. ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.MvcEdition.MvcElementSettingBase`2[[ThinkGeo.MapSuite.MvcEdition.ContextMenu, MvcEdition, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null],[ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting, MvcEdition, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null]] ***ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} ContextMenuSetting(ContextMenu) ** Initializes a new instance of the ContextMenuSetting class. == Remarks == N/A == Parameters == * //contextMenu// * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenu|ContextMenu]] * Description:N/A
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} Id(String) ** Set Id for Element property and retun the ContextMenuSetting == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting|ContextMenuSetting]] * Description:The setting of ContextMenu itself == Parameters == * //id// * Type:String * Description:A id for Element property
** {{wiki:PublicMethod.gif|}} Width(Int32) ** Set width for Element property and retun the ContextMenuSetting == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting|ContextMenuSetting]] * Description:The setting of ContextMenu itself == Parameters == * //width// * Type:Int32 * Description:A width for Element property
** {{wiki:PublicMethod.gif|}} CssClass(String) ** Set css Class for Element property and retun the ContextMenuSetting == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting|ContextMenuSetting]] * Description:The setting of ContextMenu itself == Parameters == * //cssClass// * Type:String * Description:A css Class for Element property
** {{wiki:PublicMethod.gif|}} MenuItems(Action) ** Set Menu Items for Element property according to the input method which takes ContextMenuItemCollection and retun the ContextMenuItemSetting == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting|ContextMenuSetting]] * Description:The setting of ContextMenuItem itself == Parameters == * //addMenuItemAction// * Type:Action<[[ThinkGeo.MapSuite.MvcEdition.ContextMenuItemCollection|ContextMenuItemCollection]]> * Description:A method that takes a ContextMenuItemCollection
** {{wiki:PublicMethod.gif|}} ToString() ** N/A == Remarks == N/A == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** N/A == Remarks == N/A == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** N/A == Remarks == N/A == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** N/A == Remarks == N/A == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} Finalize() ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** N/A == Remarks == N/A == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ==== Protected Properties ==== ** {{wiki:ProtectedProperty.gif|}} Element ** N/A == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.ContextMenu|ContextMenu]] ==== Public Events ====