MenuItem(String, String, String, String, String) Constructor
Initializes a new instance of the MenuItem class with specified settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public MenuItem(
string text,
string name,
string imageUrl,
string navigateUrl,
string target
)
#Parameters
Name | Type | Description |
---|---|---|
text | String | A String value specifying the item’s display text. The value initializes the item’s Menu |
name | String | A String value specifying the name which identifies the created item. The value initializes the item’s Menu |
image |
String | A String value specifying the path to the image displayed by the item. The value initializes the Url property (see Image |
navigate |
String | A String value specifying the URL to which the browser navigates when the item is clicked. The value initializes the item’s Menu |
target | String | A String value which identifies the window or frame at which to target URL content when the item is clicked. The value initializes the item’s Menu |