Vcl.Themes.TCustomStyleServices.ContentRect

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

Delphi

function ContentRect(DC: HDC; Details: TThemedElementDetails;
const BoundingRect: TRect): TRect; deprecated 'Use GetElementContentRect';

C++

System::Types::TRect __fastcall ContentRect _DEPRECATED_ATTRIBUTE1("Use GetElementContentRect") (HDC DC, const TThemedElementDetails &Details, const System::Types::TRect &BoundingRect);

プロパティ

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


説明

警告: ContentRect は非推奨になっています。 GetElementContentRect を使用してください。

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

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

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

メモ: ContentRect は廃止予定のため、代わりに GetElementContentRect を使用してください。

関連項目