FMX.Controls.Presentation.TPresentedControl.FindStyleResource

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FindStyleResource(const AStyleLookup: string; const AClone: Boolean = False): TFmxObject; override;

C++

virtual Fmx::Types::TFmxObject* __fastcall FindStyleResource(const System::UnicodeString AStyleLookup, const bool AClone = false)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
FMX.Controls.Presentation.pas
FMX.Controls.Presentation.hpp
FMX.Controls.Presentation TPresentedControl

Description

Requests from the presentation layer the style resource object with the specified name (AStyleLookup), and returns that object.

AClone determines whether the returned style resource object should be the original style object (False) or a copy of the original (True).

For details about the circumstances in which this function is called, see TStyledControl.FindStyleResource.

See Also