Skip to main content

BootstrapMenuItem(String, String) Constructor

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

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public BootstrapMenuItem(
    string text,
    string name
)

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.

See Also