Vcl.ComCtrls.TCustomHeaderControl.OnDrawSection
Delphi
property OnDrawSection: TCustomDrawSectionEvent read FOnDrawSection write FOnDrawSection;
C++
__property TCustomDrawSectionEvent OnDrawSection = {read=FOnDrawSection, write=FOnDrawSection};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomHeaderControl |
Description
Draws header section.
Use 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 TCustomDrawSectionEvent.