Skip to main content
A newer version of this page is available.
All docs
V19.1
Tab

GridLayoutItemCollection.Add<T>(String) Method

Creates a new layout item with the specified caption and adds it to the collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

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

Parameters

Name Type Description
caption String

A String value specifying the item caption. This value is assigned to the LayoutItemBase.Caption property.

Type Parameters

Name
T

Returns

Type Description
T

A LayoutItemBase class descendant that is an item to be added.

See Also