Skip to main content

BootstrapMenuItemCollection.FindByText(String) Method

Returns a group item with the specified MenuItem.Text property value.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public BootstrapMenuItem FindByText(
    string text
)

Parameters

Name Type Description
text String

A String value representing the MenuItem.Text property value of the required item.

Returns

Type Description
BootstrapMenuItem

A BootstrapMenuItem object with a specific value of the MenuItem.Text property.

Remarks

Use this method to obtain an item specified by a display text assigned to its MenuItem.Text property.

See Also