Vcl.CaptionedDockTree.TCaptionedDockTree.PaintDockFrame

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PaintDockFrame(Canvas: TCanvas; Control: TControl;
const ARect: TRect); override;

C++

virtual void __fastcall PaintDockFrame(Vcl::Graphics::TCanvas* Canvas, Vcl::Controls::TControl* Control, const System::Types::TRect &ARect);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.CaptionedDockTree.pas
Vcl.CaptionedDockTree.hpp
Vcl.CaptionedDockTree TCaptionedDockTree

Description

Paints the elements of a docking zone that surround a docked control.

Vcl.CaptionedDockTree.TCaptionedDockTree.PaintDockFrame inherits from Vcl.Controls.TDockTree.PaintDockFrame. All content below this line refers to Vcl.Controls.TDockTree.PaintDockFrame.

Paints the elements of a docking zone that surround a docked control.

Applications cannot call the protected PaintDockFrame method. It is used by the PaintSite method to render the grab lines and close buttons that make up the grab region of a docking zone.

Canvas is the drawing surface on which to paint.

Control is the control that is docked in the zone being rendered.

ARect indicates the boundaries of the entire docking zone.

Note: Descendent classes can override this method to change the way a dock tree paints docking zones. The descendent class should only paint in the portions of ARect that are not occupied by Control.

See Also