Vcl.ComCtrls.TCustomDrawTarget
Delphi
TCustomDrawTarget = (dtControl, dtItem, dtSubItem);
C++
enum DECLSPEC_DENUM TCustomDrawTarget : unsigned char { dtControl, dtItem, dtSubItem };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
TCustomDrawTarget specifies the target of a custom drawing event.
TCustomDrawTarget is used to indicate a specific type of custom drawing event.
The following table lists the possible values:
Value | Meaning |
---|---|
dtControl |
The event occurs when the entire control needs to be painted. |
dtItem |
The event occurs when an individual item within the control needs to be painted. |
dtSubItem |
The event occurs when a subitem needs to be painted. |