FMX.Controls.TStyledControl.GenerateStyleName

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function GenerateStyleName(const AClassName: string): string;

C++

System::UnicodeString __fastcall GenerateStyleName(const System::UnicodeString AClassName);

Properties

Type Visibility Source Unit Parent
function protected
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TStyledControl

Description

Generates a style lookup name based on the provided <AClassName>.

The generated style name is composed of the class name without the leading T, followed by the string "style". For example, if you provide TEdit as <AClassName>, GenerateStyleName returns the string Editstyle.

See Also