Skip to main content
A newer version of this page is available. .
Tab

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

Declaration

public void Add(
    ListBoxColumn column
)

Parameters

Name Type Description
column ListBoxColumn

A ListBoxColumn object to add to the collection.

Remarks

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.

Note

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