GridViewContextMenuItemCollection.FindByCommand(GridViewContextMenuCommand) Method
Returns an item object that performs the specified command.
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 is the GridViewContextMenuItem.Command property value of the required item. |
Returns
| Type | Description |
|---|---|
| GridViewContextMenuItem | A GridViewContextMenuItem object that performs the specified command. |
Remarks
Use this method to obtain an item specified by a performed command assigned to its GridViewContextMenuItem.Command property.
See Also