Tab

NavBarItemCollection.FindByText(String) Method

Returns an item object with the specified NavBarItem.Text property value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public NavBarItem FindByText(
    string text
)

Parameters

Name Type Description
text String

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

Returns

Type Description
NavBarItem

A NavBarItem object with a specific value of the NavBarItem.Text property.

Remarks

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

See Also