User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.contextmenusetting

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting

<!– Class –> A setting for ContextMenu that contains APIs to set properties of ContextMenu using in MVC view.

Inheritance Hierarchy

*System.Object

  • PublicKeyToken=null]]
    • Culture=neutral
      • Version=9.0.0.0

* MvcEdition [ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting * PublicKeyToken=null] Culture=neutral * Version=9.0.0.0 MvcEdition *ThinkGeo.MapSuite.MvcEdition.MvcElementSettingBase`2[[ThinkGeo.MapSuite.MvcEdition.ContextMenu ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodContextMenuSetting ContextMenu Initializes a new instance of the ContextMenuSetting class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodCssClass String Set css Class for Element property and retun the ContextMenuSetting
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodId String Set Id for Element property and retun the ContextMenuSetting
Public MethodMenuItems Action<ContextMenuItemCollection> Set Menu Items for Element property according to the input method which takes ContextMenuItemCollection and retun the ContextMenuItemSetting
Public MethodToString Object
Public MethodWidth Int32 Set width for Element property and retun the ContextMenuSetting

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary

Protected Properties

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

ContextMenuSetting(ContextMenu)

Initializes a new instance of the ContextMenuSetting class.

Parameters

Name Type Description
contextMenu ContextMenu<!– ThinkGeo.MapSuite.MvcEdition.ContextMenu –>

Go Back

Protected Constructors

Public Methods

CssClass(String)

Set css Class for Element property and retun the ContextMenuSetting

Return Value

Return Type Description
ContextMenuSetting<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting –> The setting of ContextMenu itself

Parameters

Name Type Description
cssClass String<!– System.String –> A css Class for Element property

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Id(String)

Set Id for Element property and retun the ContextMenuSetting

Return Value

Return Type Description
ContextMenuSetting<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting –> The setting of ContextMenu itself

Parameters

Name Type Description
id String<!– System.String –> A id for Element property

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting –> Go Back

Set Menu Items for Element property according to the input method which takes ContextMenuItemCollection and retun the ContextMenuItemSetting

Return Value

Return Type Description
ContextMenuSetting<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting –> The setting of ContextMenuItem itself

Parameters

Name Type Description
addMenuItemAction Action<ContextMenuItemCollection><!– System.Action{ThinkGeo.MapSuite.MvcEdition.ContextMenuItemCollection} –> A method that takes a ContextMenuItemCollection

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Width(Int32)

Set width for Element property and retun the ContextMenuSetting

Return Value

Return Type Description
ContextMenuSetting<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting –> The setting of ContextMenu itself

Parameters

Name Type Description
width Int32<!– System.Int32 –> A width for Element property

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

Protected Properties

Element

Return Value

Return Type
ContextMenu<!– ThinkGeo.MapSuite.MvcEdition.ContextMenu –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcElementSettingBase{ThinkGeo.MapSuite.MvcEdition.ContextMenu,ThinkGeo.MapSuite.MvcEdition.ContextMenuSetting} –> Go Back

Public Events

thinkgeo.mapsuite.mvcedition.contextmenusetting.1440040131.txt.gz · Last modified: 2015/09/21 03:32 (external edit)