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

TitleIndexColumnCollection.Add() Method

Adds a new column to the end of the collection and returns the corresponding object.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public virtual TitleIndexColumn Add()

Returns

Type Description
TitleIndexColumn

A TitleIndexColumn object representing the newly created column.

Remarks

The ASPxTitleIndex control allows manipulating its column collection, accessed via the ASPxTitleIndex.Columns property.

The Add method is useful to add a new column to the end of the column collection. The specified column can be added to the collection by using the TitleIndexColumnCollection.Add method. To insert a column into the specified position within the collection, use the Collection<T>.Insert method.

Use the Collection.Move method to move the specified column within the collection from one index to another.

To remove the specified column from the collection, use the Collection<T>.Remove or Collection.RemoveAt methods.

See Also