Skip to main content
Tab

LayoutItemCollection.Add<T>(String) Method

Returns a layout item object with the specified Caption property value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public T Add<T>(
    string caption
)
    where T : LayoutItemBase, new()

Parameters

Name Type Description
caption String

A String value that specifies the layout items’ caption text.

Type Parameters

Name
T

Returns

Type Description
T

A layout item object that had been added to the layout items collection with a specific value of the Caption property.

See Also