A newer version of this page is available.
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.v18.2.dll
Declaration
public T Add<T>(
string caption
)
where T : LayoutItemBase, new()
Public Function Add(Of T As {LayoutItemBase, New})(
caption As String
) As T
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
Feedback