Back to Devexpress

TreeListColumnCollection Class

windowsforms-devexpress-dot-xtratreelist-dot-columns-0f049ec2.md

latest3.0 KB
Original Source

TreeListColumnCollection Class

Represents a column collection in the Tree List control.

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
[ListBindable(false)]
public class TreeListColumnCollection :
    ICollection,
    IEnumerable,
    IHeaderObjectCollection,
    IEnumerable<TreeListColumn>,
    IHeaderObjectSynchronization<TreeListColumn>
vb
<ListBindable(False)>
Public Class TreeListColumnCollection
    Implements ICollection,
               IEnumerable,
               IHeaderObjectCollection,
               IEnumerable(Of TreeListColumn),
               IHeaderObjectSynchronization(Of TreeListColumn)

The following members return TreeListColumnCollection objects:

Remarks

The Tree List control stores its columns in the TreeList.Columns collection. This collection is represented by the TreeListColumnCollection class. Members of this class can be used to add, delete, access individual column objects and perform other common collection management tasks. Individual columns stored within such collections are represented by TreeListColumn objects. Note that you don’t have to create such objects manually. They are automatically created by the collection’s TreeListColumnCollection.Add and TreeListColumnCollection.Insert methods. You can also fill the collection with columns created for each data field within the Tree List’s associated data source using the TreeList.PopulateColumns method.

Inheritance

Object TreeListColumnCollection

See Also

TreeListColumnCollection Members

Columns

PopulateColumns()

Columns

DevExpress.XtraTreeList.Columns Namespace