API:Vcl.ComCtrls.THeaderControl.OnDrawSection
Delphi
property OnDrawSection: TDrawSectionEvent read GetOnDrawSection write SetOnDrawSection;
C++
__property TDrawSectionEvent OnDrawSection = {read=GetOnDrawSection, write=SetOnDrawSection};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | THeaderControl |
Description
Dessine la section d'en-tête.
Vcl.ComCtrls.THeaderControl.OnDrawSection hérite de Vcl.ComCtrls.TCustomHeaderControl.OnDrawSection. Tout le contenu en-dessous de cette ligne se réfère à Vcl.ComCtrls.TCustomHeaderControl.OnDrawSection.
Dessine la section d'en-tête.
Utilisez OnDrawSection pour définir un code de dessin de section personnalisé. OnDrawSection ne se produit que si la propriété Style (accessible via le tableau Sections) de la section d'en-tête a la valeur hsOwnerDraw.
OnDrawSection est un gestionnaire d'événements du type TCustomDrawSectionEvent.