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

GridViewToolbarItemCollection.FindByName(String) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

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