Vcl.Outline.TCustomOutline.DrawCell
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.