Vcl.ComCtrls.THeaderControl.OnDrawSection
Delphi
property OnDrawSection: TDrawSectionEvent read GetOnDrawSection write SetOnDrawSection;
C++
__property TDrawSectionEvent OnDrawSection = {read=GetOnDrawSection, write=SetOnDrawSection};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | THeaderControl |
Description
Draws header section.
Use the OnDrawSection to define custom section drawing code. OnDrawSection occurs only if the header section’s Style property (accessed through the Sections array) is set to hsOwnerDraw.
OnDrawSection is an event handler of type Vcl.ComCtrls.TDrawSectionEvent.
See Also
Code Examples