Vcl.ComCtrls.TDrawSectionEvent
C++
typedef void __fastcall (__closure *TDrawSectionEvent)(THeaderControl* HeaderControl, THeaderSection* Section, const System::Types::TRect &Rect, bool Pressed);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Vcl.ComCtrls.hpp | Vcl.ComCtrls | Vcl.ComCtrls |
Description
TDrawSectionEvent is a procedure called by the THeaderControl class OnDrawSection event.
The event handler takes the following parameters.
Section is the header section that is being redrawn.
Rect is the display rectangle for the header section.
Pressed is true if the section is being displayed as a button, and that button is currently in its depressed state.