DataItemContextMenuConfiguration Class |
Namespace: Colygon.MatchPoint.Core.Configuration
[SerializableAttribute] public class DataItemContextMenuConfiguration : BaseContextMenuConfiguration<DataItemContextMenuItem>
The DataItemContextMenuConfiguration type exposes the following members.
Name | Description | |
---|---|---|
DataItemContextMenuConfiguration | Initializes a new instance of the DataItemContextMenuConfiguration class |
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 | (Inherited from BaseContextMenuConfigurationT.) |
Name | Description | |
---|---|---|
ContentClass | Specifies content classes for which this context menu should be displayed. | |
ContentType | Specifies the content type of items for which this context menu should be displayed. | |
ContextMenuProvider | Contains menu providers for this context menu. (Inherited from BaseContextMenuConfigurationT.) | |
Items | Contains menu items for this context menu. (Inherited from BaseContextMenuConfigurationT.) | |
MatchExpression | Specifies an expression that is expected to return 'true' if the context menu should be displayed for the given item. Use 'DataItem.PropertyName' to access the properties of the item. E.g.: 'DataItem.Category == "Global"'. | |
Name | Specifies the name of this context menu configuration. (Inherited from BaseContextMenuConfigurationT.) | |
Recursive | If enabled, all descendant tags are also matched. | |
Tag | Specifies a tag that has to exist on the item. | |
UrlPrefix | Specifies an URL prefix of items for which this context menu should be displayed. The URL can be relative to the current web. |
Please note that you need to enable the property ShowCustomContextMenu in order to display the context menu within a DataGrid.