Skip to main content
Tab

ListBoxColumnCollection.Add(ListBoxColumn) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

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