Click or drag to resize
ContextMenuItem Class
Specifies a context menu item.
Inheritance Hierarchy

Namespace: Colygon.MatchPoint.Core.Configuration
Assembly: Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2013.11.0.0
Syntax
C#
[SerializableAttribute]
public class ContextMenuItem

The ContextMenuItem type exposes the following members.

Constructors
  NameDescription
Public methodContextMenuItem
Initializes a new instance of the ContextMenuItem class
Top
Properties
  NameDescription
Public propertyIconUrl
Defines the URL of an image that is used as the icon for the menu item. Use '{DataItem.PropertyName}' to access fields of objects where the context menu will be displayed.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldCaption
Specifies the caption for the menu item. Use '{DataItem.PropertyName}' to access fields of objects where the context menu will be displayed.
Public fieldDescription
Specifies a description for the menu item.
Public fieldId
Specifies an optional ID that can be used to identify the item when processing the client context menu (server-side and client-side). IDs below 1000 are reserved for Colygon. See the BuiltInMenuItemIds-enum for items defined by MatchPoint.
Public fieldUrl
Specifies the navigate URL where the user will be transferred on click. Use '{DataItem.PropertyName}' to access fields of objects where the context menu will be displayed (e.g. '{Tag.Key}' to access the tag key within a tag context menu).
Top
See Also