Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

Count Property, CellCollectionClass Class

Defines the number of cells contained in this cell collection.

Class: CellCollectionClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public int Count { get; set; }
Public Property Count As Integer

Value

The number of cells contained in this cell collection.

The default value is 0.

Comments

Defines the number of cells contained in this cell collection.

When defining a new number of cells, if the new number of cells is smaller than the current number of cells, the remaining cells are discarded. If the new number is larger, empty cells are added at the end of the cell collection.

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.

See Also CellCollectionClass Class | Classes | SftTree/NET 2.0