Vcl.Themes.TCustomStyleServices.GetElementContentRect

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

Delphi

function GetElementContentRect(DC: HDC; Details: TThemedElementDetails;
const BoundingRect: TRect; out ContentRect: TRect): Boolean; overload;

C++

bool __fastcall GetElementContentRect(HDC DC, const TThemedElementDetails &Details, const System::Types::TRect &BoundingRect, /* out */ System::Types::TRect &ContentRect)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes TCustomStyleServices


説明

要素の内容領域の背景の四角形を取得します。

GetElementContentRect を呼び出すと、コントロールの背景領域を保有している、四角形を取得することができます(スタイルが有効になっている場合)。

Details は、情報を取得してきたユーザー インターフェイス要素を表します。

関連項目