ASPxGridViewContextMenuEventArgs.CreateItem(String, String) Method
Creates a new item with the specified settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
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