Tab
A newer version of this page is available. Switch to the current version.

LayoutGroupBase.FindItemByPath(String) Method

Obsolete. Returns a layout item by its path.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[Obsolete("Use the FindItemOrGroupByName method instead.")]
public LayoutItemBase FindItemByPath(
    string path
)
<Obsolete("Use the FindItemOrGroupByName method instead.")>
Public Function FindItemByPath(
    path As String
) As LayoutItemBase

Parameters

Name Type Description
path String

A string value specifying the layout item's path within the LayoutGroupBase.Items collection.

Returns

Type Description
LayoutItemBase

An LayoutItemBase object representing the layout item specified by its path.

Remarks

Use the FindItemByPath method to get an item by its path. The path is the item indexes (from the group children level item to the sought-for item) separated by the '_' symbol.

The code sample below returns a reference to the third item of the AddressGroup group.


var layoutItem = AddressGroup.FindItemByPath("2");

Dim layoutItem = AddressGroup.FindItemByPath("2")
See Also