A class representing a collection of RadTreeListColumn objects.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class TreeListColumnsCollection : IList, ICollection, IList<TreeListColumn>, ICollection<TreeListColumn>, IEnumerable<TreeListColumn>, IEnumerable, IStateManager
Inheritance: objectTreeListColumnsCollection
Implements:
Inherited Members
Constructors
Properties
Gets a value indicating whether the collection is read only.
public bool IsReadOnly { get; }
Implements:
Gets a reference to the owner RadTreeList object.
public RadTreeList Owner { get; }
Methods
Adds the passed column to the column collection.
public void Add(TreeListColumn item)
A TreeListColumn object that should be added to the collection.
Implements:
Clears all column from the collection.
public void Clear()
Implements:
Checks whether a given column belongs to the collection.
public bool Contains(TreeListColumn item)
The TreeListColumn object to check for in the collection.
Returns:A boolean value indicating whether the column was found.
Implements:
Copies the column collection to a given array.
public void CopyTo(TreeListColumn[] array, int arrayIndex)
A reference to TreeListColumn[] object where the columns need to be copied to.
arrayIndexintAn integer indicating from which index on the columns should be added to the new collection.
Implements:
Returns an enumerator that iterates through the collection.
public IEnumerator<TreeListColumn> GetEnumerator()
An IEnumerator<TreeListColumn> used for iterating the collection.
Implements:
Gets the index of the passed column in the column collection.
public int IndexOf(TreeListColumn item)
The TreeListColumn object to find in the collection.
Returns:An integer that indicates the index of the column in the collection.
Implements:
Inserts the provided column at the given index in the collection.
public void Insert(int index, TreeListColumn item)
An integer that indicates at which position the column should be inserted.
itemTreeListColumnThe TreeListColumn object that should be added.
Implements:
Removes the passed column from the collection.
public bool Remove(TreeListColumn item)
The TreeListColumn to remove from the collection.
Returns:A boolean value indicating whether the column was removed successfully
Implements:
Removes the column at the provided index.
public void RemoveAt(int index)
An integer specifying the position from which a column should be removed.
Implements: