Skip to main content
A newer version of this page is available. .
Tab

GridViewToolbarItemCollection.FindByText(String) Method

Returns a toolbar item with the specified text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public GridViewToolbarItem 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
GridViewToolbarItem

A GridViewToolbarItem 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