MVCxListBoxColumnCollection.Add(String, String) Method
Creates a new column with the specified settings and adds it to the collection.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Parameters
Name | Type | Description |
---|---|---|
fieldName | String | A String value that specifies the name of the associated data field. This value is assigned to the ListBoxColumn.FieldName property. |
caption | String | A String value that specifies the column’s caption. This value is assigned to the WebColumnBase.Caption property. |
Returns
Type | Description |
---|---|
MVCxListBoxColumn | An MVCxListBoxColumn object that is the newly added column. |
See Also