ListBoxColumnCollection.Add(String) Method
Creates a new column with the specified setting and adds it to the collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public ListBoxColumn Add(
string fieldName
)
#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 |
#Returns
Type | Description |
---|---|
List |
A List |
#Remarks
Use the Add method to add a new column with the specified setting to the end of the ListBoxColumnCollection object.
Note
It is not possible, for example, to modify a column collection, change items selection, or change Selection