Skip to main content
Tab

GridViewToolbarItemCollection.FindByName(String) Method

Returns an item object with the specified MenuItem.Name property value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public GridViewToolbarItem FindByName(
    string name
)

Parameters

Name Type Description
name String

A String value representing the MenuItem.Name property value of the required toolbar item.

Returns

Type Description
GridViewToolbarItem

A GridViewToolbarItem object that is the ASPxGridView toolbar item.

Remarks

Use this method to obtain a toolbar item specified by a unique name assigned to its MenuItem.Name property.

See Also