Skip to main content
Tab

GridViewContextMenuItemCollection.FindByCommand(GridViewContextMenuCommand) Method

Returns an item object that performs the specified command.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public GridViewContextMenuItem FindByCommand(
    GridViewContextMenuCommand command
)

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