FMX.Styles.TStyleManager.GetStyleResource
Delphi
class function GetStyleResource(const ResourceName: string): TFmxObject;
C++
__classmethod Fmx::Types::TFmxObject* __fastcall GetStyleResource(const System::UnicodeString ResourceName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Styles.pas FMX.Styles.hpp |
FMX.Styles | TStyleManager |
Description
Gets the style resource object.
GetStyleResource returns the style resource if it exits in cache. Otherwise it loads the style resource.
ResourceName
specifies the style resource as per name.