Vcl.Themes.TCustomStyleEngine.UnRegisterStyleHook
Delphi
class procedure UnRegisterStyleHook(ControlClass: TClass;
StyleHookClass: TStyleHookClass); virtual;
C++
__classmethod virtual void __fastcall UnRegisterStyleHook(System::TClass ControlClass, TStyleHookClass StyleHookClass);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Themes.pas Vcl.Themes.hpp |
Vcl.Themes | TCustomStyleEngine |
Description
Unregisters a style hook.
Call UnRegisterStyleHook to remove the specified style hook class from the registered style hooks list of the given VCL component class.
The following table describes the parameters:
Parameter | Meaning |
ControlClass
|
The VCL component class for which the style hook is unregistered. If it is nil or no hook is registered for it, an exception is raised. |
StyleHookClass
|
The style hook class that is removed from the list of registered hooks of the ControlClass component.
If it is nil or not on the list of registered style hooks for |