FMX.Styles.TStyleStreaming.CanLoadFromFile
Delphi
class function CanLoadFromFile(const FileName: string): Boolean;
C++
__classmethod bool __fastcall CanLoadFromFile(const System::UnicodeString FileName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Styles.pas FMX.Styles.hpp |
FMX.Styles | TStyleStreaming |
Description
Loads a style from the specified file without raising an exception.
CanLoadFromFile searches for the style specified by FileName
.
CanLoadFromFile returns True if the style is successfully loaded, and False otherwise.