Skip to main content

BootstrapMenuItemCollection.Add() Method

Adds a new menu item to the end of the collection and returns the newly created object.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public BootstrapMenuItem Add()

Returns

Type Description
BootstrapMenuItem

A BootstrapMenuItem object representing the newly created menu item.

Remarks

Use the Add method to add a new menu item with the default settings to the BootstrapMenuItemCollection object. You can modify properties of the obtained object to control the appearance and behavior of the added menu item.

See Also