Vcl.Themes.TCustomStyleServices.GetElementContentRect

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

Type Visibility Source Unit Parent
function public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes TCustomStyleServices


Description

Gets the background rectangle of the content area of the element.

Call GetElementContentRect to retrieve the rectangle that contains the background area of a control, when styles are enabled.

Details represents the user interface element from which the information is being retrieved.

See Also