Skip to main content

SiteMapColumnCollection.Add() Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public virtual SiteMapColumn Add()


Type Description

A SiteMapColumn object representing the newly created column.


The ASPxSiteMapControl control allows manipulating its columns collection, accessed via the ASPxSiteMapControlBase.Columns property.

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

Use the 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