Tab

MenuItem(String) Constructor

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.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