Click or drag to resize

DataItemContextMenuItem Class

Represents a single context menu entry within a DataItemContextMenuConfiguration.
Inheritance Hierarchy
SystemObject
  Colygon.MatchPoint.Core.ConfigurationContextMenuItem
    Colygon.MatchPoint.Core.ConfigurationDataItemContextMenuItem

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

The DataItemContextMenuItem type exposes the following members.

Constructors
  NameDescription
Public methodDataItemContextMenuItem
Initializes a new instance of the DataItemContextMenuItem 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.
(Inherited from ContextMenuItem.)
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 (Inherited from ContextMenuItem.)
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.
(Inherited from ContextMenuItem.)
Public fieldDescription
Specifies a description for the menu item.
(Inherited from ContextMenuItem.)
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.
(Inherited from ContextMenuItem.)
Public fieldRequiredPermissions
Specifies the required permissions levels of users to show this menu item
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).
(Inherited from ContextMenuItem.)
Top
See Also