User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.contextmenuitemsetting

This is an old revision of the document!


ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting

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

Inheritance Hierarchy

*System.Object

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

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

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodContextMenuItemSetting ContextMenuItem Initializes a new instance of the ContextMenuItemSetting 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 ContextMenuItemSetting
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodHoverCssClass String Set hover Css Class for Element property and retun the ContextMenuItemSetting
Public MethodId String Set Id for Element property and retun the ContextMenuItemSetting
Public MethodInnerHtml String Set inner Html for Element property and retun the ContextMenuItemSetting
Public MethodMenuItems Action<ContextMenuItemCollection> Initializes a new instance of the ContextMenuItemSetting class.
Public MethodOnClientClick String Set client Click Script for Element property and retun the ContextMenuItemSetting
Public MethodToString Object

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

ContextMenuItemSetting(ContextMenuItem)

Initializes a new instance of the ContextMenuItemSetting class.

Parameters

Name Type Description
contextMenuItem ContextMenuItem<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –> the context menu item which will be assigned to Element property

Go Back

Protected Constructors

Public Methods

CssClass(String)

Set css Class for Element property and retun the ContextMenuItemSetting

Return Value

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

Parameters

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

<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting –> 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

HoverCssClass(String)

Set hover Css Class for Element property and retun the ContextMenuItemSetting

Return Value

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

Parameters

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

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

Id(String)

Set Id for Element property and retun the ContextMenuItemSetting

Return Value

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

Parameters

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

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

InnerHtml(String)

Set inner Html for Element property and retun the ContextMenuItemSetting

Return Value

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

Parameters

Name Type Description
innerHtml String<!– System.String –> A inner Html for Element property

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

Initializes a new instance of the ContextMenuItemSetting class.

Return Value

Return Type Description
ContextMenuItemSetting<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting –>

Parameters

Name Type Description
addItemsAction Action<ContextMenuItemCollection><!– System.Action{ThinkGeo.MapSuite.MvcEdition.ContextMenuItemCollection} –> a method that takes ContextMenuItemCollection to do some settings.

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

OnClientClick(String)

Set client Click Script for Element property and retun the ContextMenuItemSetting

Return Value

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

Parameters

Name Type Description
clientClickScript String<!– System.String –> A client Click Script for Element property

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

ToString()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> 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
ContextMenuItem<!– ThinkGeo.MapSuite.MvcEdition.ContextMenuItem –>

<!– ThinkGeo.MapSuite.MvcEdition.MvcElementSettingBase{ThinkGeo.MapSuite.MvcEdition.ContextMenuItem,ThinkGeo.MapSuite.MvcEdition.ContextMenuItemSetting} –> Go Back

Public Events

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