FMX.Colors.TColorButton.ApplyStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ApplyStyle; override;

C++

virtual void __fastcall ApplyStyle();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Colors.pas
FMX.Colors.hpp
FMX.Colors TColorButton

Description



Customizes styles in complex objects.

FMX.Colors.TColorButton.ApplyStyle inherits from FMX.Controls.TStyledControl.ApplyStyle. All content below this line refers to FMX.Controls.TStyledControl.ApplyStyle.

Customizes styles in complex objects.

TStyledControl descendants override it to apply styles in concordance with their primitive components.

Do not call ApplyStyle explicitly in an application. It is called by the ApplyStyleLookup method when object styles are updated.

For an example of an ApplyStyle implementation, see "TCalloutPanel:Style Contracts" in FireMonkey Component Design.

See Also