LayoutGroupBase.FindItemByPath(String) Method
In This Article
OBSOLETE
Use the Find
Returns a layout item by its path.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[Obsolete("Use the FindItemOrGroupByName method instead.")]
public LayoutItemBase FindItemByPath(
string path
)
#Parameters
Name | Type | Description |
---|---|---|
path | String | A string value specifying the layout item’s path within the Layout |
#Returns
Type | Description |
---|---|
Layout |
An Layout |
#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