Vcl.Themes.TStyleManager.IsValidStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function IsValidStyle(const FileName: string): Boolean; overload;
class function IsValidStyle(const FileName: string; var StyleInfo: TStyleInfo): Boolean; overload;

C++

__classmethod bool __fastcall IsValidStyle(const System::UnicodeString FileName)/* overload */;
__classmethod bool __fastcall IsValidStyle(const System::UnicodeString FileName, TStyleInfo &StyleInfo)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Vcl.Themes.pas
Vcl.Themes.hpp
Vcl.Themes TStyleManager

Description

Checks whether a file represents a valid style.

IsValidStyle returns True if the file specified by FileName is recognized as a valid style.

The second overload of IsValidStyle returns, in addition, information about the style.

Parameter Meaning
FileName The file name to be verified whether it represents a valid style.
StyleInfo A record that contains the information about the style.

See Also