Back to Devexpress

GridViewToolbarCollection.FindByName(String) Method

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

latest1.7 KB
Original Source

GridViewToolbarCollection.FindByName(String) Method

Returns a toolbar object with the specified MenuItem.Name property value.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Parameters

NameTypeDescription
nameString

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

|

Returns

TypeDescription
GridViewToolbar

A GridViewToolbar object that is the ASPxGridView toolbar.

|

Remarks

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

See Also

Grid View Toolbars

GridViewToolbarCollection Class

GridViewToolbarCollection Members

DevExpress.Web Namespace