Vcl.CategoryButtons.TCategoryButtons.OnDrawIcon
Delphi
property OnDrawIcon: TCatButtonDrawIconEvent read FOnDrawIcon write SetOnDrawIcon;
C++
__property TCatButtonDrawIconEvent OnDrawIcon = {read=FOnDrawIcon, write=SetOnDrawIcon};
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| event | published | Vcl.CategoryButtons.pas Vcl.CategoryButtons.hpp  | 
        Vcl.CategoryButtons | TCategoryButtons | 
Description
Fired when an icon needs to be redrawn.
The OnDrawIcon event is fired when an icon needs to be redrawn. This action prevents the default drawing.
OnDrawIcon is an event handler of type Vcl.CategoryButtons.TCatButtonDrawIconEvent.