Skip to main content
Tab

GridViewContextMenuItem(String, String, String, String) Constructor

Initializes a new instance of the GridViewContextMenuItem class with the specified settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public GridViewContextMenuItem(
    string text,
    string name,
    string imageUrl,
    string navigateUrl
)

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.

imageUrl String

A String value that specifies the item image url. Initializes the item’s MenuItem.Image.Url property.

navigateUrl String

A String value that specifies the URL to which the browser navigates when the item’s text or associated image is clicked. Initializes the item’s MenuItem.NavigateUrl 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