Back to Devexpress

GridViewToolbarItemCollection.FindByName(String) Method

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

latest1.8 KB
Original Source

GridViewToolbarItemCollection.FindByName(String) Method

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public GridViewToolbarItem FindByName(
    string name
)
vb
Public Function FindByName(
    name As String
) As GridViewToolbarItem

Parameters

NameTypeDescription
nameString

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

|

Returns

TypeDescription
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

Grid View Toolbars

GridViewToolbarItemCollection Class

GridViewToolbarItemCollection Members

DevExpress.Web Namespace