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

TreeListToolbarItemCollection.FindByName(String) Method

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

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public TreeListToolbarItem 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
TreeListToolbarItem

A TreeListToolbarItem object that is the ASPxTreeList toolbar item.

Remarks

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

See Also