Skip to main content
Tab

ASPxFormLayout.FindItemOrGroupByName(String) Method

Returns a layout item or group object with the specified LayoutItemBase.Name property value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public LayoutItemBase FindItemOrGroupByName(
    string name
)

Parameters

Name Type Description
name String

A String value representing the LayoutItemBase.Name property value of the required layout item or group.

Returns

Type Description
LayoutItemBase

A LayoutItemBase object with a specific value of the LayoutItemBase.Name property.

Remarks

Use this method to obtain a layout item or group specified by a unique name assigned to its LayoutItemBase.Name property.

View Example: Form Layout for ASP.NET Web Forms - How to find an item and access nested controls

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FindItemOrGroupByName(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also