FMX.TreeView.TCustomTreeView.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.TreeView.pas
FMX.TreeView.hpp
FMX.TreeView TCustomTreeView

Description

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

FMX.TreeView.TCustomTreeView.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