User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.contextmenu

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.ContextMenu

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.1442910826.txt.gz ยท Last modified: 2015/09/22 08:33 by admin