[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TComponent.ComponentCount

Count of owned components

## Declaration

`public property TComponent.ComponentCount: Integer read GetComponentCount;`

## Description

ComponentCount returns the number of components that the current component owns. It can be used to determine the valid index range in the Component array.

## See also

TComponent.Components |  | Indexed list (zero-based) of all owned components.
TComponent.Owner |  | Owner of this component.