Show / Hide Table of Contents

Class TreeListViewColumnDescriptionCollection

Collection that holds all the column descriptions for a single TreeListView.

Inheritance
System.Object
TreeListViewColumnDescriptionCollection
Implements
System.Collections.Generic.IList<TreeListViewColumnDescription>
System.Collections.Generic.ICollection<TreeListViewColumnDescription>
System.Collections.Generic.IEnumerable<TreeListViewColumnDescription>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Controls
Assembly: Phoenix.Controls.TreeListView.dll
Syntax
public class TreeListViewColumnDescriptionCollection : IList<TreeListViewColumnDescription>, ICollection<TreeListViewColumnDescription>, IEnumerable<TreeListViewColumnDescription>, IList, ICollection, IEnumerable

Properties

View Source

Count

Gets the number of elements in the list.

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32
View Source

IsReadOnly

Gets a value indicating whether this list is read-only.

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
System.Boolean
View Source

Item[Int32]

Gets or sets the element at the specified index.

Declaration
public TreeListViewColumnDescription this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index

The zero-based index for the item to access/modify.

Property Value
Type Description
TreeListViewColumnDescription

The column description at the specified index.

Remarks

Property from IList<TreeListViewColumnDescription>.

Methods

View Source

Add(TreeListViewColumnDescription)

Adds an item to the end of the list.

Declaration
public void Add(TreeListViewColumnDescription item)
Parameters
Type Name Description
TreeListViewColumnDescription item

Item to add.

View Source

Clear()

Removes all elements from the list.

Declaration
public void Clear()
View Source

Contains(TreeListViewColumnDescription)

Determines whether an element is in the list.

Declaration
public bool Contains(TreeListViewColumnDescription item)
Parameters
Type Name Description
TreeListViewColumnDescription item

Item to look for.

Returns
Type Description
System.Boolean

True if the item is in the list; otherwise, false.

View Source

CopyTo(TreeListViewColumnDescription[], Int32)

Copies the entire list to a compatible one-dimensional array, starting at the specified index of the target array.

Declaration
public void CopyTo(TreeListViewColumnDescription[] array, int arrayIndex)
Parameters
Type Name Description
TreeListViewColumnDescription[] array

The one-dimensional array that is the destination of the elements copied from the list.

System.Int32 arrayIndex

The zero-based index in the array at which copying begins.

View Source

IndexOf(TreeListViewColumnDescription)

Searches for the specified object and returns the zero-based index of the first occurrence within the entire list.

Declaration
public int IndexOf(TreeListViewColumnDescription item)
Parameters
Type Name Description
TreeListViewColumnDescription item

Item to look for.

Returns
Type Description
System.Int32

Item's index or -1 if it wasn't found.

View Source

Insert(Int32, TreeListViewColumnDescription)

Inserts an item into the list at the specified index.

Declaration
public void Insert(int index, TreeListViewColumnDescription item)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which item should be inserted.

TreeListViewColumnDescription item

The object to insert.

View Source

Remove(TreeListViewColumnDescription)

Removes the first occurrence of a specific object from the list.

Declaration
public bool Remove(TreeListViewColumnDescription item)
Parameters
Type Name Description
TreeListViewColumnDescription item

Item to remove from the list.

Returns
Type Description
System.Boolean

True if item is successfully removed; otherwise, false.

View Source

RemoveAt(Int32)

Removes the element at the specified index from the list.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
System.Int32 index

The zero-based index of the element to remove.

Explicit Interface Implementations

View Source

IEnumerable<TreeListViewColumnDescription>.GetEnumerator()

Returns the generic enumerator for this list.

Declaration
IEnumerator<TreeListViewColumnDescription> IEnumerable<TreeListViewColumnDescription>.GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<TreeListViewColumnDescription>

The generic enumerator for this list.

View Source

ICollection.CopyTo(Array, Int32)

Copies the entire list to a compatible one-dimensional array, starting at the specified index of the target array.

Declaration
void ICollection.CopyTo(Array array, int arrayIndex)
Parameters
Type Name Description
System.Array array

The one-dimensional array that is the destination of the elements copied from the list.

System.Int32 arrayIndex

The zero-based index in the array at which copying begins.

View Source

ICollection.Count

Gets the number of elements in this list.

Declaration
int ICollection.Count { get; }
Returns
Type Description
System.Int32
View Source

ICollection.IsSynchronized

Gets a value indicating whether access to collection is synchronized (thread safe).

Declaration
bool ICollection.IsSynchronized { get; }
Returns
Type Description
System.Boolean
View Source

ICollection.SyncRoot

Gets an object that can be used to synchronize access to the collection.

Declaration
object ICollection.SyncRoot { get; }
Returns
Type Description
System.Object
View Source

IEnumerable.GetEnumerator()

Returns the non-generic enumerator for this list.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

The non-generic enumerator for this list.

View Source

IList.Add(Object)

Adds an item to the end of the list.

Declaration
int IList.Add(object value)
Parameters
Type Name Description
System.Object value

Object to add.

Returns
Type Description
System.Int32

The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.

View Source

IList.Clear()

Removes all items from the list.

Declaration
void IList.Clear()
View Source

IList.Contains(Object)

Determines whether the list contains a specific value.

Declaration
bool IList.Contains(object value)
Parameters
Type Name Description
System.Object value

The object to locate in the list.

Returns
Type Description
System.Boolean

True if the object is found in the list; otherwise, false.

View Source

IList.IndexOf(Object)

Determines the index of a specific item in the list.

Declaration
int IList.IndexOf(object value)
Parameters
Type Name Description
System.Object value

The object to locate in the list.

Returns
Type Description
System.Int32

The index of the object if found; otherwise, -1.

View Source

IList.Insert(Int32, Object)

Inserts an item to the list at the specified index.

Declaration
void IList.Insert(int index, object value)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which value should be inserted.

System.Object value

The object to insert into the list.

View Source

IList.IsFixedSize

Gets a value indicating whether this list is of fixed size.

Declaration
bool IList.IsFixedSize { get; }
Returns
Type Description
System.Boolean
View Source

IList.IsReadOnly

Gets a value indicating whether this list is read-only.

Declaration
bool IList.IsReadOnly { get; }
Returns
Type Description
System.Boolean
View Source

IList.Item[Int32]

Gets or sets the object at the specified index.

Declaration
object IList.this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index

The zero-based index for the object to access/modify.

Returns
Type Description
System.Object

The object at the specified index.

Remarks

Property from IList.

View Source

IList.Remove(Object)

Removes the first occurrence of the specified object from the list.

Declaration
void IList.Remove(object value)
Parameters
Type Name Description
System.Object value

The object to remove from the list.

View Source

IList.RemoveAt(Int32)

Removes the list item at the specified index.

Declaration
void IList.RemoveAt(int index)
Parameters
Type Name Description
System.Int32 index

The zero-based index of the item to remove.

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable

Extension Methods

IListExtensions.FirstIndexOf<T>(IList<T>, Func<T, Boolean>)
IListExtensions.FirstIndexOf<T>(IList<T>, T, IEqualityComparer<T>)
  • View Source
In This Article
Back to top Generated by DocFX