FMX.Controls.TStyledControl.ApplyStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ApplyStyle; virtual;

C++

virtual void __fastcall ApplyStyle();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TStyledControl

Description

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