Back to Devexpress

GridViewToolbarItemCollection.FindByText(String) Method

aspnet-devexpress-dot-web-dot-gridviewtoolbaritemcollection-dot-findbytext-x28-system-dot-string-x29.md

latest1.7 KB
Original Source

GridViewToolbarItemCollection.FindByText(String) Method

Returns a toolbar item with the specified text.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public GridViewToolbarItem FindByText(
    string text
)
vb
Public Function FindByText(
    text As String
) As GridViewToolbarItem

Parameters

NameTypeDescription
textString

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

|

Returns

TypeDescription
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

Grid View Toolbars

GridViewToolbarItemCollection Class

GridViewToolbarItemCollection Members

DevExpress.Web Namespace