Vcl.ComCtrls.TCustomDrawSectionEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TCustomDrawSectionEvent = procedure(HeaderControl: TCustomHeaderControl;
Section: THeaderSection; const Rect: TRect; Pressed: Boolean) of object;

C++

typedef void __fastcall (__closure *TCustomDrawSectionEvent)(TCustomHeaderControl* HeaderControl, THeaderSection* Section, const System::Types::TRect &Rect, bool Pressed);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls Vcl.ComCtrls

Description

TCustomDrawSectionEvent is a procedure called by the TCustomHeaderControl 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.

See Also