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

BootstrapMenuItem(String, String, String, String, String) Constructor

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll

Declaration

public BootstrapMenuItem(
    string text,
    string name,
    string iconCssClass,
    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 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.

iconCssClass String

A String value specifying the CSS class of the image displayed by the item. The value initializes the item’s BootstrapMenuItem.IconCssClass property.

navigateUrl String

A String value specifying the URL to which the browser navigates when the item is clicked. The value initializes the item’s MenuItem.NavigateUrl property.

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 MenuItem.Target property.

See Also