MVCxListBoxColumnCollection.Add(String, String, Unit) Method
In This Article
Creates a new column with the specified settings and adds it to the collection.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public MVCxListBoxColumn Add(
string fieldName,
string caption,
Unit width
)
#Parameters
Name | Type | Description |
---|---|---|
field |
String | A String value that specifies the name of the associated data field. This value is assigned to the List |
caption | String | A String value that specifies the column’s caption. This value is assigned to the Web |
width | Unit | A Unit that represents the column width. This value is assigned to the Web |
#Returns
Type | Description |
---|---|
MVCx |
An MVCx |
See Also