FMX.Layouts.TCustomScrollBox.DoCalcContentBounds
Delphi
function DoCalcContentBounds: TRectF; virtual;
C++
virtual System::Types::TRectF __fastcall DoCalcContentBounds();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | FMX.Layouts.pas FMX.Layouts.hpp |
FMX.Layouts | TCustomScrollBox |
説明
スクロール領域のすべてのコントロールを囲む、ContentBounds 四角形を計算します。
DoRealign は、DoCalcContentBounds を ContentBounds 四角形に対して呼び出します。 OnCalcContentBounds イベント ハンドラが定義されている場合、DoRealign はこのイベント ハンドラを呼び出し、計算されたコンテンツを囲む四角形を、追加計算のために渡します。