GridViewContextMenuItem(GridViewContextMenuCommand, String) Constructor
Initializes a new instance of the GridViewContextMenuItem class with the specified settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| command | GridViewContextMenuCommand | One of the GridViewContextMenuCommand values that identifies the executed command. This value is assigned to the GridViewContextMenuItem.Command property. |
| name | String | A String value that specifies the created item’s name. Initializes the item’s MenuItem.Name property. |
Remarks
This constructor can be used to create a new GridViewContextMenuItem class instance and initialize it with the settings passed via the parameters.
See Also