FMX.ListBox.TCustomListBox.DoCalcContentBounds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoCalcContentBounds: TRectF; override;

C++

virtual System::Types::TRectF __fastcall DoCalcContentBounds();

Properties

Type Visibility Source Unit Parent
function protected
FMX.ListBox.pas
FMX.ListBox.hpp
FMX.ListBox TCustomListBox

Description

Calculates the ContentBounds rectangle bounding all controls in the scrolling region.

FMX.ListBox.TCustomListBox.DoCalcContentBounds inherits from FMX.Layouts.TCustomScrollBox.DoCalcContentBounds. All content below this line refers to FMX.Layouts.TCustomScrollBox.DoCalcContentBounds.

Calculates the ContentBounds rectangle bounding all controls in the scrolling region.

DoRealign calls DoCalcContentBounds to calculate the ContentBounds rectangle. If the OnCalcContentBounds event handler is defined, then DoRealign calls this event handler and passes into it the calculated content bounding rectangle for additional calculations.

See Also