Skip to main content
A newer version of this page is available. .
Tab

MenuItem(String) Constructor

Initializes a new instance of the MenuItem class with the specified display text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public MenuItem(
    string text
)

Parameters

Name Type Description
text String

A String value specifying the item’s display text. The value initializes the item’s MenuItem.Text property.

Remarks

This constructor initializes the item’s MenuItem.Name, MenuItem.Image.Url (see ImagePropertiesBase.Url), MenuItem.NavigateUrl, and MenuItem.Target properties with default values.

See Also