Vcl.Controls.TWinControl.GetControlExtents

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetControlExtents: TRect; virtual;

C++

virtual System::Types::TRect __fastcall GetControlExtents();

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

説明

コントロールのすべての子が収まる最小の四角形を返します。

GetControlExtents メソッドを呼び出すと,コントロールのすべての子が収まる最小の四角形を指定できます。ウィンドウコントロールは,AutoSize プロパティを実装する場合に GetControlExtents メソッドを呼び出します。

関連項目