ContextMenuItem Class |
Namespace: Colygon.MatchPoint.Core.Configuration
[SerializableAttribute] public class ContextMenuItem
The ContextMenuItem type exposes the following members.
Name | Description | |
---|---|---|
ContextMenuItem | Initializes a new instance of the ContextMenuItem class |
Name | Description | |
---|---|---|
IconUrl | 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. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Caption | Specifies the caption for the menu item. Use '{DataItem.PropertyName}' to access fields of objects where the context menu will be displayed. | |
Description | Specifies a description for the menu item. | |
Id | 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. | |
Url | 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). |