ASPxGridViewContextMenuEventArgs.CreateItem(String, String) Method
Creates a new item with the specified settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| text | String | A String value that specifies the item text. Initializes the item’s MenuItem.Text property. |
| name | String | A String value that specifies the created item’s name. Initializes the item’s MenuItem.Name property. |
Returns
| Type | Description |
|---|---|
| GridViewContextMenuItem | A GridViewContextMenuItem object that is the newly created item. |
See Also