API:Vcl.ComCtrls.THeaderControl.OnDrawSection

De RAD Studio API Documentation

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. {{#multireplace:Vcl.ComCtrls.THeaderControl.OnDrawSection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} hérite de {{#multireplace:Vcl.ComCtrls.TCustomHeaderControl.OnDrawSection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. Tout le contenu en-dessous de cette ligne se réfère à {{#multireplace:Vcl.ComCtrls.TCustomHeaderControl.OnDrawSection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.

Voir aussi