Skip to main content

TreeListToolbarItemCollection.FindByText(String) Method

Returns a toolbar item with the specified text.

Namespace: DevExpress.Web.ASPxTreeList

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

NuGet Package: DevExpress.Web

Declaration

public TreeListToolbarItem FindByText(
    string text
)

Parameters

Name Type Description
text String

A String value that is the MenuItem.Text property value of the required toolbar item.

Returns

Type Description
TreeListToolbarItem

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

Remarks

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

See Also