TitleIndexColumnCollection.Add() Method
Adds a new column to the end of the collection and returns the corresponding object.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public virtual TitleIndexColumn Add()
#Returns
Type | Description |
---|---|
Title |
A Title |
#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.