Skip to main content

ASPxClientFormLayout.GetItemByName(name) Method

Returns an item specified by its name.

Declaration

GetItemByName(
    name: string
): ASPxClientLayoutItem

Parameters

Name Type Description
name string

A string value specifying the name of the item.

Returns

Type Description
ASPxClientLayoutItem

An ASPxClientLayoutItem object that represents the item with the specified name.

Remarks

The ASPxFormLayout’s items on the client side can be accessed by using the control’s client-side functionality. This method gets a client item object specified by its name. An item’s name is defined by the LayoutItemBase.Name property.

Note that if an invalid name is passed via the parameter, this method returns null.

To access a particular layout item which is a child item of the current layout item, the layout item’s ASPxClientLayoutItem.GetItemByName method can be used.

See Also