Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

CellCollectionClass Class

An instance of the CellCollectionClass class represents all cells managed by one item.

There is one instance of the CellCollectionClass class for each item. An item's cell collection can be accessed using the item's ItemClass.Cells property.

Cells in a cell collection appear in column order, meaning the first cell in the cell collection is the cell displayed in the first real column, etc. Reordering columns does not reorder the cell collection, it merely changes the display column order. The real column order remains unaffected.

An item can have no cells (0) or any number of cells. While the theoretical maximum limit of cells is huge (Int.Max), in practice this limit is not achievable due to runtime requirements, such as CPU time, elapsed time, virtual memory, etc.

Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Inheritance

Syntax

public class CellCollectionClass : System.Collections.CollectionBase;
Public Class CellCollectionClass
    Inherits System.Collections.CollectionBase

Constructors

This class cannot be instantiated.

Properties

PublicCapacityDefines the number of cells that the CellCollectionClass instance can contain.
PublicCountDefines the number of cells contained in this cell collection.
PublicItemReturns the cell at the specified column index.
ProtectedInherited from System.Collections.CollectionBaseInnerListGets an ArrayList containing the list of elements in the CollectionBase instance.
ProtectedInherited from System.Collections.CollectionBaseListGets an IList containing the list of elements in the CollectionBase instance.

Methods

PublicAddAdds a new cell to the cell collection.
PublicClearRemoves all cells from this cell collection.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.Collections.CollectionBaseGetEnumeratorReturns an enumerator that iterates through the CollectionBase instance.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
ProtectedInherited from System.Collections.CollectionBaseOnClearPerforms additional custom processes when clearing the contents of the CollectionBase instance.
ProtectedInherited from System.Collections.CollectionBaseOnClearCompletePerforms additional custom processes after clearing the contents of the CollectionBase instance.
ProtectedInherited from System.Collections.CollectionBaseOnInsertPerforms additional custom processes before inserting a new element into the CollectionBase instance.
ProtectedInherited from System.Collections.CollectionBaseOnInsertCompletePerforms additional custom processes after inserting a new element into the CollectionBase instance.
ProtectedInherited from System.Collections.CollectionBaseOnRemovePerforms additional custom processes when removing an element from the CollectionBase instance.
ProtectedInherited from System.Collections.CollectionBaseOnRemoveCompletePerforms additional custom processes after removing an element from the CollectionBase instance.
ProtectedInherited from System.Collections.CollectionBaseOnSetPerforms additional custom processes before setting a value in the CollectionBase instance.
ProtectedInherited from System.Collections.CollectionBaseOnSetCompletePerforms additional custom processes after setting a value in the CollectionBase instance.
ProtectedInherited from System.Collections.CollectionBaseOnValidatePerforms additional custom processes when validating a value.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

See Also Classes | SftTree/NET 2.0