User Tools

Site Tools


thinkgeo.mapsuite.webedition.contextmenuitem

This is an old revision of the document!


ThinkGeo.MapSuite.WebEdition.ContextMenuItem

This class represents a menu item of the ContextMenu control.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.WebEdition.ContextMenuItem

Members Summary

Public Constructors

ContextMenuItem()

Initializes a new instance of the ContextMenuitem. class.

Remarks

N/A

Parameters

ContextMenuItem(String)

Initializes a new instance of the ContextMenuitem. class with the innerHtml specified.

Remarks

N/A

Parameters
  • innerHtml
    • Type:String
    • Description:The innerHtml of the context menu item.

ContextMenuItem(String,String)

Initializes a new instance of the ContextMenuitem. class with the innerHtml and CSS class string specified.

Remarks

N/A

Parameters
  • innerHtml
    • Type:String
    • Description:The innerHtml of the context menu item.
  • cssClass
    • Type:String
    • Description:The CSS class of the context menu item.

ContextMenuItem(String,String,String)

Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.

Remarks

N/A

Parameters
  • innerHtml
    • Type:String
    • Description:The innerHtml of the context menu item.
  • cssClass
    • Type:String
    • Description:The CSS class of the context menu item.
  • hoverCssClass
    • Type:String
    • Description:The CSS class of the context menu item when the mouse is hovering over it.

ContextMenuItem(String,String,String,String)

Initializes a new instance of the ContextMenuitem. class with innerHtml, CSS class and hover CSS class specified.

Remarks

N/A

Parameters
  • innerHtml
    • Type:String
    • Description:The innerHtml of the context menu item.
  • cssClass
    • Type:String
    • Description:The CSS class of the context menu item.
  • hoverCssClass
    • Type:String
    • Description:The CSS class of the context menu item when the mouse is hovering over it.
  • id
    • Type:String
    • Description:The id of the context menu item.

Protected Constructors

Public Methods

ToJson()

Returns a JSON string that has information for creating the context menu item at the client side.

Remarks

N/A

Return Value
  • Type:String
  • Description:A JSON string for creating the context menu item at the client side.
Parameters

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

5BM=()

N/A

Remarks

N/A

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

5RM=(Object)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • target
    • Type:Object
    • Description:N/A

xRQ=()

N/A

Remarks

N/A

Return Value
Parameters

xBQ=(String)

N/A

Remarks

N/A

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

xhQ=(Double,Double)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • lontitude
    • Type:Double
    • Description:N/A
  • latitude
    • Type:Double
    • Description:N/A

OnClick(ContextMenuItemClickEventArgs)

Raises the Click event of the ContextMenuItem object.

Remarks

The OnClick method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.Notes to Inheritors: When overriding OnClick in a derived class, be sure to call the base class's OnClick method so that registered delegates receive the event.

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

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

MenuItems

Gets the menu item collection of the context menu item.

Remarks

N/A

Return Value
Remarks

N/A

Return Value
  • Type:String

CssClass

Gets or sets the Cascading Style Sheet (CSS) class name string that affects the appearance of the context menu item.

Remarks

N/A

Return Value
  • Type:String

HoverCssClass

Gets or sets the Cascading Style Sheet (CSS) class name string that applies when the mouse hovers over the menu item.

Remarks

N/A

Return Value
  • Type:String

OnClientClick

Gets or sets the client-side script that executes when a context menu item's Click event is raised.

Remarks

N/A

Return Value
  • Type:String

InnerHtml

Gets or sets the content HTML of the context menu item.

Remarks

N/A

Return Value
  • Type:String

Protected Properties

HasClickEvent

Get whether the ContextMenu has the click event.

Remarks

N/A

Return Value
  • Type:Boolean

Public Events

Click Occurs when the context menu item is clicked.

Remarks

N/A

Event Arguments:ContextMenuItemClickEventArgs

thinkgeo.mapsuite.webedition.contextmenuitem.1442545643.txt.gz · Last modified: 2015/09/18 03:07 by admin