TreeListColumnCollection.Add() Method

Creates a new column and appends it to the end of the collection.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public TreeListColumn Add()
Public Function Add As TreeListColumn

Returns

Type Description
TreeListColumn

A TreeListColumn object representing the new column.

Remarks

Use the Add method to add a new column with default settings to the end of the collection. Note that the new column has no caption, is not bound to any data source field and has any other settings cleared. Thus, you need to customize the method's return object to provide appropriate column settings.

Please refer to the Columns topic for details.

See Also