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

# TControlBorderSpacing.ControlHeight

Total height for the control including border spacing values in Around, Top, and Bottom.

## Declaration

Source position: controls.pp line 869

`public property TControlBorderSpacing.ControlHeight : Integer read GetControlHeight;`

## Description

ControlHeight is a read-only Integer property with the total height for the associated Control including border spacing values. The property value is calculated using the following formula:

    Control.Height + (2 * Around) + Top + Bottom

If a TControl instance is not available in Control, the value for the property is 0 (zero).

## See also

TControlBorderSpacing.Control |  | The control where the border spacing values are applied.
TControlBorderSpacing.Around |  | The border space on each of the edges for the associated control.
TControlBorderSpacing.Top |  | The border space on the top edge of the associated control.
TControlBorderSpacing.Bottom |  | The border space on the bottom edge of the associated control.
TControlBorderSpacing.ControlWidth |  | Total width for the control including border spacing values in Around, Left, and Right.
TControl.Height |  | The vertical size for the control.