Vcl.CaptionedDockTree.TDockCaptionDrawer.DrawDockCaption

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DrawDockCaption(const Canvas: TCanvas;  CaptionRect: TRect; State: TParentFormState); virtual;

C++

virtual void __fastcall DrawDockCaption(Vcl::Graphics::TCanvas* const Canvas, const System::Types::TRect &CaptionRect, const TParentFormState &State);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.CaptionedDockTree.pas
Vcl.CaptionedDockTree.hpp
Vcl.CaptionedDockTree TDockCaptionDrawer

Description

Draws the caption on the control.

The following parameters are passed in the DrawDockCaption procedure:



Parameter Description

Canvas

The canvas object upon which to draw the caption.

CaptionRect

The defined rectangle in which the caption is to be drawn.

State

The current state of the parent form.