Skip to main content

TreeListColumnCollection Methods

Represents a column collection in the Tree List control.
Name Description
Add() Creates a new column and appends it to the end of the collection.
Add(TreeListColumn) Adds the specified column to the end of the collection.
AddField(String) Creates a new column which is bound to the specified field and appends it to the collection.
AddRange(TreeListColumn[]) Adds an array of columns to the end of the collection.
AddVisible(String) Adds a new column, binding it to the specified field and making this column visible.
AssignTo(TreeListColumnCollection) Copies the current collection’s elements to the collection specified.
Clear() Removes all elements from the collection.
ColumnByFieldName(String) Returns a column with the field name specified.
ColumnByName(String) Returns a column specified by its name.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ForEach(Action<TreeListColumn>) Executes the specified action on each element of the collection.
GetEnumerator() Returns an enumerator that iterates through the collection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(TreeListColumn) Returns the specified column’s position within the collection.
Insert(Int32) Creates a new column and adds it to the collection at the specified position.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(TreeListColumn) Removes a column from the collection.
RemoveAt(Int32) Removes the element at the specified index of the collection.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also