GridLayoutItemCollection.Add<T>(String, String) Method
Creates a new layout item with the specified caption and name and adds it to the collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
caption | String | A String value that specifies the layout items’ caption text. |
name | String | A String value that specifies the layout items’ name. |
Type Parameters
Name |
---|
T |
Returns
Type | Description |
---|---|
T | A layout item object in the layout items collection with a specific caption and name. |
Remarks
Use the Add<T> method to add a new layout item with the specified LayoutItemBase.Caption and LayoutItemBase.Name property values to the GridLayoutItemCollection object.
See Also