User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.contextmenu

ThinkGeo.MapSuite.MvcEdition.ContextMenu

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This class represents a right-click shortcut menu used in the map control.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.MvcEdition.ContextMenu

Members Summary

Public Constructors

ContextMenu()

  • Initializes a new instance of the ContextMenu class with no menu items specified.
Remarks
  • N/A
Parameters

ContextMenu(String,Int32)

  • Initializes a new instance of the ContextMenu class with the specified identifier and width.
Remarks
  • N/A
Parameters
  • id
    • Type:String
    • Description:The key of the context menu in string format.
  • width
    • Type:Int32
    • Description:The width of the context menu.

ContextMenu(String,Int32,String)

  • Initializes a new instance of the ContextMenu class with the identifier, width and CSS class string.
Remarks
  • N/A
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

CloneDeep()

  • Creates a deep copy of this ContextMenu object.
Remarks
  • N/A
Return Value
  • Description:A deep copy of the ContextMenu object.
Parameters

ToJson()

  • Returns a JSON string that contains information for creating the context menu at the client side.
Remarks
  • N/A
Return Value
  • Type:String
  • Description:A string for creating the context menu at the client side.
Parameters

FromJson(String)

  • Load this object from a json string.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • jsonString
    • Type:String
    • Description:a json string

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

PBU=(String)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • fullId
    • Type:String
    • Description:N/A

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

Id

Gets the identifier of the ContextMenu object.

Remarks

N/A

Return Value
  • Type:String

Width

Gets or sets the width of the context menu.

Remarks

N/A

Return Value
  • Type:Int32

CssClass

Gets or sets the CSS class of the context menu.

Remarks

N/A

Return Value
  • Type:String

MenuItems

Gets the menu item collection of the context menu.

Remarks

N/A

Return Value

Protected Properties

Public Events

thinkgeo.mapsuite.mvcedition.contextmenu.txt · Last modified: 2017/03/16 21:59 (external edit)