MenuItem(String, String) Constructor
Initializes a new instance of the MenuItem class with specified settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
Name | Type | Description |
---|---|---|
text | String | A String value specifying the item’s display text. The value initializes the item’s MenuItem.Text property. |
name | String | A String value specifying the name which identifies the created item. The value initializes the item’s MenuItem.Name property. |
Remarks
This constructor initializes the item’s MenuItem.Image.Url (see ImagePropertiesBase.Url), MenuItem.NavigateUrl, and MenuItem.Target properties with default values.
See Also