Vcl.Outline.TCustomOutline.DrawCell

De RAD Studio API Documentation
Aller à : navigation, rechercher

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);

Propriétés

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

Description

Dessine un noeud de l'arborescence.

DrawCell est appelée automatiquement dès que l'arborescence doit dessiner un noeud. Si la propriété Style vaut otOwnerDraw et qu'un gestionnaire d'événement OnDrawItem a été fourni, DrawCell génère un événement OnDrawItem. Sinon, DrawCell dessine le noeud selon la manière indiquée par la propriété OutlineStyle.

Voir aussi