SftTree/NET 2.0

CellCollectionClass Class

Softel vdm, Inc.

  CellCollectionClass Class (Softelvdm.SftTreeNET Namespace)

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 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.

VB   

Public Class CellCollectionClass Inherits CollectionBase

C#   

public class CellCollectionClass : CollectionBase

C++   

public ref class CellCollectionClass : public CollectionBase


Public

Constructors

Properties

Fields

Methods

Events

Protected

Constructors

Properties

Fields

Methods

 


Public Constructors

Description

none

This class cannot be instantiated.

   

Public Properties

Description

public propertyCapacity

Defines the number of cells that the CellCollectionClass instance can contain.

public propertyCount

Defines the number of cells contained in this cell collection.

public propertyItem

Returns the cell at the specified column index.

  

Public Methods

Description

public methodAdd

Adds a new cell to the cell collection.

public methodClearinherited from System.Collections.CollectionBase

Removes all objects from the CollectionBase instance.

public methodEqualsinherited from System.Object

Determines whether the specified Object is equal to the current Object.

public methodGetEnumeratorinherited from System.Collections.CollectionBase

Returns an enumerator that iterates through the CollectionBase instance.

public methodGetHashCodeinherited from System.Object

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.

public methodGetTypeinherited from System.Object

Gets the Type of the current instance.

public methodstatic / sharedReferenceEqualsinherited from System.Object

Determines whether the specified Object instances are the same instance.

public methodRemoveAtinherited from System.Collections.CollectionBase

Removes the element at the specified index of the CollectionBase instance.

public methodToStringinherited from System.Object

Returns a String that represents the current Object.

  

Protected Properties

Description

protected propertyInnerListinherited from System.Collections.CollectionBase

Gets an ArrayList containing the list of elements in the CollectionBase instance.

protected propertyListinherited from System.Collections.CollectionBase

Gets an IList containing the list of elements in the CollectionBase instance.

  

Protected Methods

Description

protected methodFinalizeinherited from System.Object

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

protected methodMemberwiseCloneinherited from System.Object

Creates a shallow copy of the current Object.

protected methodOnClearinherited from System.Collections.CollectionBase

Performs additional custom processes when clearing the contents of the CollectionBase instance.

protected methodOnClearCompleteinherited from System.Collections.CollectionBase

Performs additional custom processes after clearing the contents of the CollectionBase instance.

protected methodOnInsertinherited from System.Collections.CollectionBase

Performs additional custom processes before inserting a new element into the CollectionBase instance.

protected methodOnInsertCompleteinherited from System.Collections.CollectionBase

Performs additional custom processes after inserting a new element into the CollectionBase instance.

protected methodOnRemoveinherited from System.Collections.CollectionBase

Performs additional custom processes when removing an element from the CollectionBase instance.

protected methodOnRemoveCompleteinherited from System.Collections.CollectionBase

Performs additional custom processes after removing an element from the CollectionBase instance.

protected methodOnSetinherited from System.Collections.CollectionBase

Performs additional custom processes before setting a value in the CollectionBase instance.

protected methodOnSetCompleteinherited from System.Collections.CollectionBase

Performs additional custom processes after setting a value in the CollectionBase instance.

protected methodOnValidateinherited from System.Collections.CollectionBase

Performs additional custom processes when validating a value.

  

See Also     Softelvdm.SftTreeNET Namespace


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com