FMX.ListBox.TListBoxItem.ApplyStyle
Delphi
procedure ApplyStyle; override;
C++
virtual void __fastcall ApplyStyle();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TListBoxItem |
Description
Customizes styles in complex objects.
FMX.ListBox.TListBoxItem.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.