A newer version of this page is available. Switch to the current version.

ListBoxColumnCollection.Add(ListBoxColumn) Method

Adds the specified column to the end of an editor's column collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public void Add(
    ListBoxColumn column
Public Sub Add(
    column As ListBoxColumn


Name Type Description
column ListBoxColumn

A ListBoxColumn object to add to the collection.


Use the Add method to add the specified column to the end of the column collection. To add a column to the specified position within the collection, use the ListBoxColumnCollection.Insert method.

To remove the specified column from the collection, use the ListBoxColumnCollection.Remove method.

Use the ListBoxColumnCollection.Item property to access the individual column within the collection by its index.


It is not possible, for example, to modify a column collection, change items selection, or change SelectionMode on callbacks. To perform these actions on the client side, you can wrap the control with the ASPxCallbackPanel control and process a required scenario on a callback to the panel.

See Also