Vcl.Outline.TCustomOutline.DrawCell

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DrawCell(ACol, ARow: Longint; ARect: TRect;
AState: TGridDrawState); override;

C++

virtual void __fastcall DrawCell(int ACol, int ARow, const System::Types::TRect &ARect, Vcl::Grids::TGridDrawState AState);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Outline.pas
Vcl.Outline.hpp
Vcl.Outline TCustomOutline

Description

Draws a node in the outline.

DrawCell is called automatically whenever the outline needs to draw a node. If the Style property is otOwnerDraw and an OnDrawItem event handler has been supplied, DrawCell generates an OnDrawItem event. Otherwise, DrawCell draws the node in the manner indicated by the OutlineStyle property.

See Also